Skip to content

Commit 4a53355

Browse files
committed
Merge http/https and file/content intent-filters, use pathSuffix instead of pathPattern
1 parent c786a20 commit 4a53355

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

app/src/main/AndroidManifest.xml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@
5151

5252
<data android:scheme="file"/>
5353
<data android:scheme="content"/>
54+
<data android:scheme="http" />
55+
<data android:scheme="https" />
5456

5557
<!--
5658
Ideally "application/x-shockwave-flash" would be
@@ -60,19 +62,8 @@
6062
<data android:mimeType="*/*"/>
6163

6264
<data android:host="*" />
63-
<data android:pathPattern=".*.swf" />
65+
<data android:pathSuffix="swf" />
6466
</intent-filter>
65-
66-
<intent-filter>
67-
<action android:name="android.intent.action.VIEW" />
68-
<category android:name="android.intent.category.BROWSABLE" />
69-
<category android:name="android.intent.category.DEFAULT" />
70-
<data android:scheme="http" />
71-
<data android:scheme="https" />
72-
<data android:host="*" />
73-
<data android:pathPattern=".*\\.swf" />
74-
</intent-filter>
75-
7667
</activity>
7768
</application>
7869
</manifest>

0 commit comments

Comments
 (0)