Modern Apps git

← Modern-Apps.git

web: remove PWA activity link intent-filter so only the full browser handles web links

Commit
0f3a44675a8b7fe627882184a857f0e6ef339bdf
Author
Vayun Mathur <[email protected]>
When
2026-08-08 17:39 UTC (4 months ago)
Parents
01b7859

Diff

web/src/main/AndroidManifest.xml
diff --git a/web/src/main/AndroidManifest.xml b/web/src/main/AndroidManifest.xmlindex ea474e4a1b..c630fa1354 100644--- a/web/src/main/AndroidManifest.xml+++ b/web/src/main/AndroidManifest.xml@@ -56,13 +56,8 @@             android:theme="@style/Theme.Web"             android:launchMode="singleTop"             android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode">-            <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="http" />-                <data android:scheme="https" />-            </intent-filter>+            <!-- Launched only via explicit intents (pinned PWA shortcuts with EXTRA_URL). No VIEW/BROWSABLE+                 filter so it does not appear as a second "Web" option in the system link chooser. -->         </activity>      </application>