]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/AndroidManifest.xml
Implement Save as Archive. https://redmine.stoutner.com/issues/188
[PrivacyBrowserAndroid.git] / app / src / main / AndroidManifest.xml
index 1ea8d8cc4776c6729e6a552f51f4ca3fe438bce4..f5f07022554375d57179e356cee629106544c797 100644 (file)
                 <data android:mimeType="text/*" />
             </intent-filter>
 
                 <data android:mimeType="text/*" />
             </intent-filter>
 
+            <!-- Process intents for MHT archives. -->
+            <intent-filter>
+                <action android:name="android.intent.action.VIEW" />
+
+                <category android:name="android.intent.category.BROWSABLE" />
+                <category android:name="android.intent.category.DEFAULT" />
+
+                <data android:scheme="file" />
+                <data android:scheme="content" />
+
+                <data android:host="*" />
+
+                <!-- This pattern matches any file that starts with a `/`, has at least one character, followed by any number of other characters, terminating with `.mht`. -->
+                <data android:pathPattern="/.*\.mht" />
+                <data android:mimeType="*/*" />
+            </intent-filter>
+
             <!-- Process web search intents. -->
             <intent-filter>
                 <action android:name="android.intent.action.WEB_SEARCH" />
             <!-- Process web search intents. -->
             <intent-filter>
                 <action android:name="android.intent.action.WEB_SEARCH" />