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.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/> <category android:name="android.intent.category.BROWSABLE"/>
<data <data android:mimeType="text/xml"/>
android:host="*" <data android:mimeType="text/x-opml"/>
android:pathPattern=".*\\.opml" <data android:mimeType="application/xml"/>
android:scheme="file" <data android:mimeType="application/octet-stream"/>
android:mimeType="*/*"/>
<data <data android:scheme="file"/>
android:host="*" <data android:scheme="content"/>
android:pathPattern=".*\\.opml"
android:scheme="content" <data android:host="*"/>
android:mimeType="*/*"/>
</intent-filter> </intent-filter>
</activity> </activity>
<activity <activity