Skip to content

Commit

Permalink
Added checks for files with extra . in their names.
Browse files Browse the repository at this point in the history
Change-Id: If907e316c58f6b98da0bcd89a684f4cf5cb21c90
  • Loading branch information
adufilie committed Oct 31, 2012
1 parent 91da5d9 commit 391d118
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions WeaveMobileClient/src/WeaveMobileClient-app.xml
Original file line number Diff line number Diff line change
Expand Up @@ -263,18 +263,21 @@
<data android:scheme="https" />
<data android:host="*" />
<data android:pathPattern=".*\.weave" />
<!--
Workaround to support files with extra . in their names
http://stackoverflow.com/questions/3400072/pathpattern-to-match-file-extension-does-not-work-if-a-period-exists-elsewhere-i
-->
<data android:pathPattern=".*\..*\.weave" />
<data android:pathPattern=".*\..*\..*\.weave" />
<data android:pathPattern=".*\..*\..*\..*\.weave" />
<data android:pathPattern=".*\..*\..*\..*\..*\.weave" />
<data android:pathPattern=".*\..*\..*\..*\..*\..*\.weave" />
<data android:pathPattern=".*\..*\..*\..*\..*\..*\..*\.weave" />
<data android:pathPattern=".*\..*\..*\..*\..*\..*\..*\..*\.weave" />
<data android:pathPattern=".*\..*\..*\..*\..*\..*\..*\..*\..*\.weave" />
<data android:pathPattern=".*\..*\..*\..*\..*\..*\..*\..*\..*\..*\.weave" />
</intent-filter>
<!--
http://stackoverflow.com/questions/3400072/pathpattern-to-match-file-extension-does-not-work-if-a-period-exists-elsewhere-i
<data android:pathPattern=".*\\.mytype"/>
<data android:pathPattern=".*\\..*\\.mytype"/>
<data android:pathPattern=".*\\..*\\..*\\.mytype"/>
<data android:pathPattern=".*\\..*\\..*\\..*\\.mytype"/>
-->
<!--
<intent-filter>
<action android:name="android.intent.action.VIEW" />
Expand Down

0 comments on commit 391d118

Please sign in to comment.