]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/AndroidManifest.xml
Limit the content MIME types that Privacy Browser offers to open. https://redmine...
[PrivacyBrowserAndroid.git] / app / src / main / AndroidManifest.xml
index ac3c4a3224f761847e90816da473571a7ecf0fc1..e23f8b7f792ea57bb09fbc6af1af6758ca98adcf 100644 (file)
@@ -43,7 +43,8 @@
         <!-- Orbot. -->
         <package android:name="org.torproject.android" />
 
-        <!-- For some reason, OpenKeychain is visible without having to be listed in the quaries. -->
+        <!-- OpenKeyChain. -->
+        <package android:name="org.sufficientlysecure.keychain" />
     </queries>
 
     <!-- For API >= 23, app data is automatically backed up to Google cloud servers unless `android:allowBackup="false"` and `android:fullBackupContent="false"` is set. -->
                 <data android:scheme="https" />
             </intent-filter>
 
-            <!-- Process content intents for text files. -->
+            <!-- Process all content intents. -->
             <intent-filter>
                 <action android:name="android.intent.action.VIEW" />
 
                 <category android:name="android.intent.category.DEFAULT" />
 
                 <data android:scheme="content" />
+
+                <!-- Process text and images. -->
                 <data android:mimeType="text/*" />
+                <data android:mimeType="image/*" />
+
+                <!-- Process MHT web archives. -->
+                <data android:mimeType="multipart/related" />
+                <data android:mimeType="message/rfc822" />
             </intent-filter>
 
             <!-- Process intents for text strings.  Sometimes URLs are presented this way. -->