Merge pull request #5504 from ByteHamster/opml-only-intent
Make opml intent filter more strict
This commit is contained in:
commit
cda8e8d5da
|
@ -166,34 +166,23 @@
|
|||
android:exported="true">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW"/>
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT"/>
|
||||
<category android:name="android.intent.category.BROWSABLE"/>
|
||||
|
||||
<data android:mimeType="text/xml"/>
|
||||
<data android:mimeType="text/x-opml"/>
|
||||
<data android:mimeType="application/xml"/>
|
||||
<data android:mimeType="application/octet-stream"/>
|
||||
|
||||
<data android:scheme="file"/>
|
||||
<data android:scheme="content"/>
|
||||
|
||||
<data android:host="*"/>
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.SEND"/>
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT"/>
|
||||
<category android:name="android.intent.category.BROWSABLE"/>
|
||||
|
||||
<data android:mimeType="text/xml"/>
|
||||
<data android:mimeType="text/plain"/>
|
||||
<data android:mimeType="text/x-opml"/>
|
||||
<data android:mimeType="application/xml"/>
|
||||
<data android:mimeType="application/octet-stream"/>
|
||||
|
||||
<data android:scheme="file"/>
|
||||
<data android:scheme="content"/>
|
||||
<data android:scheme="http"/>
|
||||
<data android:scheme="https"/>
|
||||
|
||||
<data android:host="*"/>
|
||||
<data android:pathPattern=".*.xml" />
|
||||
<data android:pathPattern=".*.opml" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity
|
||||
|
|
Loading…
Reference in New Issue