Merge pull request #2062 from mateoeh/opml-intent

Use MIME types in OPML import intent filter (fixes #1758)
This commit is contained in:
Martin Fietz 2016-07-23 10:54:06 +02:00 committed by GitHub
commit 8e281890dd
1 changed files with 9 additions and 10 deletions

View File

@ -176,16 +176,15 @@
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data
android:host="*"
android:pathPattern=".*\\.opml"
android:scheme="file"
android:mimeType="*/*"/>
<data
android:host="*"
android:pathPattern=".*\\.opml"
android:scheme="content"
android:mimeType="*/*"/>
<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>
</activity>
<activity