Modern Apps git

← Modern-Apps.git

all: remove mimetype */* intent filters

Commit
82a9359c3ff862691c5097eee93ee59c86c8df31
Author
Vayun Mathur <[email protected]>
When
2026-07-31 03:42 UTC (4 months ago)
Parents
d39cf11

Diff

calendar/src/main/AndroidManifest.xml
diff --git a/calendar/src/main/AndroidManifest.xml b/calendar/src/main/AndroidManifest.xmlindex 4c42c41ffe..02b8c752f4 100644--- a/calendar/src/main/AndroidManifest.xml+++ b/calendar/src/main/AndroidManifest.xml@@ -79,22 +79,6 @@                 <data android:mimeType="application/ics" />                 <data android:mimeType="application/octet-stream" />             </intent-filter>-            <intent-filter>-                <action android:name="android.intent.action.VIEW" />-                <action android:name="android.intent.action.SEND" />-                <action android:name="android.intent.action.SEND_MULTIPLE" />-                <category android:name="android.intent.category.DEFAULT" />-                <category android:name="android.intent.category.BROWSABLE" />-                <data android:scheme="content" />-                <data android:scheme="file" />-                <data android:scheme="http" />-                <data android:scheme="https" />-                <data android:mimeType="*/*" />-                <data android:pathPattern=".*\\.ics" />-                <data android:pathPattern=".*\\.ical" />-                <data android:pathPattern=".*\\..*\\.ics" />-                <data android:pathPattern=".*\\..*\\.ical" />-            </intent-filter>         </activity>          <activity
contacts/src/main/AndroidManifest.xml
diff --git a/contacts/src/main/AndroidManifest.xml b/contacts/src/main/AndroidManifest.xmlindex 36969b0470..c3160677e4 100644--- a/contacts/src/main/AndroidManifest.xml+++ b/contacts/src/main/AndroidManifest.xml@@ -168,22 +168,6 @@                 <data android:mimeType="text/x-vcard" />                 <data android:mimeType="application/octet-stream" />             </intent-filter>-            <intent-filter>-                <action android:name="android.intent.action.VIEW" />-                <action android:name="android.intent.action.SEND" />-                <action android:name="android.intent.action.SEND_MULTIPLE" />-                <category android:name="android.intent.category.DEFAULT" />-                <category android:name="android.intent.category.BROWSABLE" />-                <data android:scheme="content" />-                <data android:scheme="file" />-                <data android:scheme="http" />-                <data android:scheme="https" />-                <data android:mimeType="*/*" />-                <data android:pathPattern=".*\\.vcf" />-                <data android:pathPattern=".*\\.vcard" />-                <data android:pathPattern=".*\\..*\\.vcf" />-                <data android:pathPattern=".*\\..*\\.vcard" />-            </intent-filter>         </activity>          <activity
email/src/main/AndroidManifest.xml
diff --git a/email/src/main/AndroidManifest.xml b/email/src/main/AndroidManifest.xmlindex bff34f6717..e2b798e935 100644--- a/email/src/main/AndroidManifest.xml+++ b/email/src/main/AndroidManifest.xml@@ -34,7 +34,6 @@                 <action android:name="android.intent.action.SEND" />                 <category android:name="android.intent.category.DEFAULT" />                 <data android:mimeType="text/plain" />-                <data android:mimeType="*/*" />             </intent-filter>              <intent-filter>@@ -55,19 +54,9 @@                 <action android:name="android.intent.action.VIEW" />                 <category android:name="android.intent.category.DEFAULT" />                 <category android:name="android.intent.category.BROWSABLE" />-                <data android:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.eml" />                 <data android:scheme="content" android:host="*" android:mimeType="application/octet-stream" android:pathPattern=".*\\.eml" />-                <data android:scheme="file" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.eml" />                 <data android:scheme="file" android:host="*" android:mimeType="application/octet-stream" android:pathPattern=".*\\.eml" />             </intent-filter>-            <!-- Uppercase .EML variant for case-insensitive file managers -->-            <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:scheme="content" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.EML" />-                <data android:scheme="file" android:host="*" android:mimeType="*/*" android:pathPattern=".*\\.EML" />-            </intent-filter>         </activity>          <receiver
files/src/main/AndroidManifest.xml
diff --git a/files/src/main/AndroidManifest.xml b/files/src/main/AndroidManifest.xmlindex 5f17782abf..2acf2c0805 100644--- a/files/src/main/AndroidManifest.xml+++ b/files/src/main/AndroidManifest.xml@@ -36,12 +36,6 @@                 <action android:name="android.intent.action.MAIN" />                 <category android:name="android.intent.category.LAUNCHER" />             </intent-filter>-            <intent-filter>-                <action android:name="android.intent.action.SEND" />-                <action android:name="android.intent.action.SEND_MULTIPLE" />-                <category android:name="android.intent.category.DEFAULT" />-                <data android:mimeType="*/*" />-            </intent-filter>         </activity>          <!-- Text editor activity to open/edit/save text files using SAF -->
vpn/src/main/AndroidManifest.xml
diff --git a/vpn/src/main/AndroidManifest.xml b/vpn/src/main/AndroidManifest.xmlindex 929715ba6a..33aec04cb1 100644--- a/vpn/src/main/AndroidManifest.xml+++ b/vpn/src/main/AndroidManifest.xml@@ -24,12 +24,6 @@                 <action android:name="android.intent.action.MAIN" />                 <category android:name="android.intent.category.LAUNCHER" />             </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="*/*" />-            </intent-filter>         </activity>          <service