Handle `file://` and `content://` URLs. https://redmine.stoutner.com/issues/360...
[PrivacyBrowser.git] / app / src / main / AndroidManifest.xml
index 2acbca232f5f0244ab0d95620044215701792640..c018200ef5cf5458f9af38e8a9e4b6c17936be73 100644 (file)
                 <data android:scheme="https" />
             </intent-filter>
 
+            <!-- Process content intents for text files. -->
+            <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="content" />
+                <data android:mimeType="text/*" />
+            </intent-filter>
+
             <!-- Process web search intents. -->
             <intent-filter>
                 <action android:name="android.intent.action.WEB_SEARCH" />