Created
February 22, 2013 22:38
-
-
Save ligi/5017133 to your computer and use it in GitHub Desktop.
diff to include opml intent-filter for antennapod
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/AndroidManifest.xml b/AndroidManifest.xml | |
index a0e277a..83cfea2 100644 | |
--- a/AndroidManifest.xml | |
+++ b/AndroidManifest.xml | |
@@ -221,8 +221,53 @@ | |
<data android:mimeType="text/xml"/> | |
</intent-filter> | |
+ | |
+ <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:host="*" | |
+ android:pathPattern=".*\\.opml" | |
+ android:scheme="https"/> | |
+ </intent-filter> | |
+ | |
+ <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:host="*" | |
+ android:pathPattern=".*\\.opml" | |
+ android:scheme="http"/> | |
+ </intent-filter> | |
+ | |
+ <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:pathPattern=".*\\.opml" | |
+ android:scheme="file"/> | |
+ </intent-filter> | |
+ <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/x-opml"/> | |
+ </intent-filter> | |
+ | |
</activity> | |
+ | |
<activity | |
android:name=".activity.OpmlFeedChooserActivity" | |
android:label="@string/opml_import_label" > |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment