Modern Apps git

← Modern-Apps.git

repo: drop redundant comments from XML resource files

Commit
79139a6634a100db370c3b0bf0396d122edee9e3
Author
vayun-mathur <[email protected]>
When
2026-08-22 00:00 UTC (3 months ago)
Parents
f7f0b80

Diff

appstore/src/main/AndroidManifest.xml
diff --git a/appstore/src/main/AndroidManifest.xml b/appstore/src/main/AndroidManifest.xmlindex 30ed6ea5ce..20f9acd2c7 100644--- a/appstore/src/main/AndroidManifest.xml+++ b/appstore/src/main/AndroidManifest.xml@@ -41,19 +41,12 @@                 <action android:name="android.intent.action.MAIN" />                 <category android:name="android.intent.category.LAUNCHER" />             </intent-filter>-            <!-- market:// links are ours to claim outright. The https ones are path-scoped:-                 handleIntentUrl only knows how to turn an app-listing URL into a package-                 name, so claiming the whole host would put this app in the chooser for-                 every unrelated play.google.com / f-droid.org link and then drop the user-                 on an empty screen. -->             <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="market" />             </intent-filter>-            <!-- autoVerify="false": these are third-party domains, so we can never host-                 assetlinks.json for them; this is a chooser entry, not an App Link. -->             <intent-filter android:autoVerify="false">                 <action android:name="android.intent.action.VIEW" />                 <category android:name="android.intent.category.DEFAULT" />@@ -67,7 +60,6 @@                 <data android:scheme="https" />                 <data android:host="f-droid.org" />                 <data android:pathPrefix="/packages/" />-                <!-- f-droid.org also serves localised listing URLs (/en/packages/...). -->                 <data android:pathPattern="/.*/packages/.*" />             </intent-filter>         </activity>
astronomy/src/main/AndroidManifest.xml
diff --git a/astronomy/src/main/AndroidManifest.xml b/astronomy/src/main/AndroidManifest.xmlindex 5b022c1fe6..a89c31e951 100644--- a/astronomy/src/main/AndroidManifest.xml+++ b/astronomy/src/main/AndroidManifest.xml@@ -25,7 +25,6 @@                 <action android:name="android.intent.action.MAIN" />                 <category android:name="android.intent.category.LAUNCHER" />             </intent-filter>-            <!-- Surfaces an in-app settings entry on the system App Info page. -->             <intent-filter>                 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />                 <category android:name="android.intent.category.DEFAULT" />
backup/src/main/AndroidManifest.xml
diff --git a/backup/src/main/AndroidManifest.xml b/backup/src/main/AndroidManifest.xmlindex 67ff8123b3..16e6c04099 100644--- a/backup/src/main/AndroidManifest.xml+++ b/backup/src/main/AndroidManifest.xml@@ -2,21 +2,14 @@ <manifest xmlns:android="http://schemas.android.com/apk/res/android"     xmlns:tools="http://schemas.android.com/tools"> -    <!-- Privileged: act as the system app-data backup transport. Granted only to a-         platform-signed priv-app whitelisted in privapp-permissions*.xml. -->     <uses-permission android:name="android.permission.BACKUP" />-    <!-- Set ourselves as the active transport where permitted. -->     <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />-    <!-- Long-running scheduled file/media backups. -->     <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />     <uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />-    <!-- Reaching a WebDAV/Nextcloud remote. -->     <uses-permission android:name="android.permission.INTERNET" />     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />-    <!-- Enumerate installed apps to present per-app backup toggles. -->     <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"         tools:ignore="QueryAllPackagesPermission" />-    <!-- Read the user's photos/videos/audio for standalone file/media backup. -->     <uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />     <uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />     <uses-permission android:name="android.permission.READ_MEDIA_AUDIO" />@@ -40,10 +33,6 @@             </intent-filter>         </activity> -        <!-- System app-data backup transport. The platform's BackupManagerService-             binds this via the TRANSPORT_HOST action once this app is a whitelisted-             priv-app holding BACKUP; access is gated by the system-only-             BIND_BACKUP_TRANSPORT permission. -->         <service             android:name=".service.ConfigurableBackupTransportService"             android:exported="true"
calculator/src/main/AndroidManifest.xml
diff --git a/calculator/src/main/AndroidManifest.xml b/calculator/src/main/AndroidManifest.xmlindex b98354e028..58e9cc7dd8 100644--- a/calculator/src/main/AndroidManifest.xml+++ b/calculator/src/main/AndroidManifest.xml@@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android"> -    <!-- Fetching live currency exchange rates from api.vayunmathur.com. -->     <uses-permission android:name="android.permission.INTERNET" />      <application
calculator/src/main/res/xml/units_widget_info.xml
diff --git a/calculator/src/main/res/xml/units_widget_info.xml b/calculator/src/main/res/xml/units_widget_info.xmlindex cc1117efe4..6bd2aba454 100644--- a/calculator/src/main/res/xml/units_widget_info.xml+++ b/calculator/src/main/res/xml/units_widget_info.xml@@ -1,6 +1,4 @@ <?xml version="1.0" encoding="utf-8"?>-<!-- updatePeriodMillis is 0: a conversion only changes when the user changes it, and the app and-     the widget both push an update when that happens. --> <appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"     android:minWidth="180dp"     android:minHeight="110dp"
calendar/src/main/AndroidManifest.xml
diff --git a/calendar/src/main/AndroidManifest.xml b/calendar/src/main/AndroidManifest.xmlindex f92fd30633..cb22970fc0 100644--- a/calendar/src/main/AndroidManifest.xml+++ b/calendar/src/main/AndroidManifest.xml@@ -31,7 +31,6 @@                 <action android:name="android.intent.action.MAIN" />                 <category android:name="android.intent.category.LAUNCHER" />             </intent-filter>-            <!-- Surfaces an in-app settings entry on the system App Info page. -->             <intent-filter>                 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />                 <category android:name="android.intent.category.DEFAULT" />@@ -54,7 +53,6 @@                 <data android:scheme="content" />                 <data android:host="com.android.calendar" />             </intent-filter>-            <!-- Handle opening/importing .ics calendar files directly in the main app. -->             <intent-filter>                 <action android:name="android.intent.action.VIEW" />                 <action android:name="android.intent.action.SEND" />@@ -75,7 +73,6 @@                 <data android:mimeType="application/octet-stream" />             </intent-filter>         </activity>-        <!-- Glance widget receiver -->         <receiver             android:name=".glance.CalendarGlanceWidgetReceiver"             android:exported="true">@@ -96,12 +93,10 @@                 android:resource="@xml/calendar_glance_widget_info" />         </receiver> -        <!-- Fires event-reminder notifications from AlarmManager exact alarms. -->         <receiver             android:name=".util.ReminderReceiver"             android:enabled="true"             android:exported="false" />-        <!-- Reschedules reminder alarms after reboot / app update. -->         <receiver             android:name=".util.BootReceiver"             android:enabled="true"
camera/src/main/AndroidManifest.xml
diff --git a/camera/src/main/AndroidManifest.xml b/camera/src/main/AndroidManifest.xmlindex 7d7edc4564..d4cf9e2103 100644--- a/camera/src/main/AndroidManifest.xml+++ b/camera/src/main/AndroidManifest.xml@@ -5,8 +5,6 @@     <uses-permission android:name="android.permission.RECORD_AUDIO" />     <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />     <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />-    <!-- Camera vision runs fully on-device; strip any INTERNET/network permission a-         transitive dependency might merge in. -->     <uses-permission android:name="android.permission.INTERNET" tools:node="remove" />     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" tools:node="remove" /> @@ -33,7 +31,6 @@                 <action android:name="android.intent.action.MAIN" />                 <category android:name="android.intent.category.LAUNCHER" />             </intent-filter>-            <!-- Surfaces an in-app settings entry on the system App Info page. -->             <intent-filter>                 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />                 <category android:name="android.intent.category.DEFAULT" />@@ -42,9 +39,6 @@                 <action android:name="android.media.action.IMAGE_CAPTURE" />                 <category android:name="android.intent.category.DEFAULT" />             </intent-filter>-            <!-- Quick-launch (power double-press) and lockscreen camera shortcut. The SECURE-                 variant is what GrapheneOS/stock fire from the lockscreen; showWhenLocked lets-                 it display over the keyguard. -->             <intent-filter>                 <action android:name="android.media.action.STILL_IMAGE_CAMERA" />                 <category android:name="android.intent.category.DEFAULT" />
cast/src/main/AndroidManifest.xml
diff --git a/cast/src/main/AndroidManifest.xml b/cast/src/main/AndroidManifest.xmlindex 17450d1b0e..b0b163f443 100644--- a/cast/src/main/AndroidManifest.xml+++ b/cast/src/main/AndroidManifest.xml@@ -1,43 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android"> -    <!-- MA Cast: mDNS discovery of _macast._tcp, a TCP socket to the port the TV advertises for-         the control channel, and UDP to the port it names in STREAM_READY for the RTP stream.-         Nothing here reaches past the local network - the TV is not required to have internet-         access at all, which is why the Cast media path could not be used. -->-    <uses-permission android:name="android.permission.INTERNET" />-    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />-    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />-    <!-- Local Network Protections (Android 16+): without this NsdManager.discoverServices-         throws SecurityException and every LAN socket is blocked, which would make the-         device list silently empty and the cast socket unopenable. Everything this app-         does is on the LAN, so it is not optional. -->-    <uses-permission android:name="android.permission.ACCESS_LOCAL_NETWORK" />--    <!-- mediaProjection is the type that must be in force before getMediaProjection() is-         called; mediaPlayback covers the window where a control channel is open but nothing-         is being captured yet. Neither is subject to Android 15's cumulative-runtime cap,-         which applies only to dataSync and mediaProcessing. -->-    <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />-    <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION" />-    <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />-    <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />-    <!-- AudioRecord needs this even for playback capture, where no microphone is involved:-         the permission gates the API, not the source. -->-    <uses-permission android:name="android.permission.RECORD_AUDIO" />--    <!-- Deliberately NO storage or media permissions: nothing is read from the device's-         storage. Screen capture is granted per session by the system consent dialog rather-         than by a manifest permission, and the token is single-use. -->-     <uses-feature android:name="android.hardware.wifi" android:required="false" /> -    <!-- What another app needs to hand us a Surface and a PCM pipe. Signature-level, so only apps-         signed with the Modern Apps key can bind: that is the only enforcement available, because a-         Messenger service's Handler dispatch loses the Binder calling identity before the message is-         read. The sending app's *name* therefore never crosses that channel - CastPickerActivity-         resolves it from callingPackage, which the framework establishes. Label and description are-         declared because this is what the system shows in the caller's permission list. -->     <permission         android:name="com.vayunmathur.cast.permission.STREAM_CONTENT"         android:label="@string/cast_stream_content_permission_label"@@ -62,16 +27,11 @@                 <action android:name="android.intent.action.MAIN" />                 <category android:name="android.intent.category.LAUNCHER" />             </intent-filter>-            <!-- Without this filter the system ignores the tile's ACTIVITY meta-data, so a-                 long-press on the tile would go nowhere. -->             <intent-filter>                 <action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" />             </intent-filter>         </activity> -        <!-- The consent trampoline. Translucent and NOT android:noHistory: noHistory finishes an-             activity as soon as it stops being visible, which is exactly what launching the system-             consent dialog does, so the result callback would be dropped. -->         <activity             android:name=".platform.mirror.MirrorConsentActivity"             android:excludeFromRecents="true"@@ -79,8 +39,6 @@             android:launchMode="singleTop"             android:theme="@android:style/Theme.Translucent.NoTitleBar" /> -        <!-- Where another app's user picks a TV, and the only place callingPackage is available.-             Launched for a result by CastPickerContract; permission-gated like the service. -->         <activity             android:name=".platform.CastPickerActivity"             android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"@@ -90,17 +48,11 @@             android:permission="com.vayunmathur.cast.permission.STREAM_CONTENT"             android:theme="@style/Theme.General" /> -        <!-- Holds the cast channel and the screen-capture projection up while the app is not in-             front, so backgrounding the app does not stop mirroring. -->         <service             android:name=".service.CastService"             android:exported="false"             android:foregroundServiceType="mediaProjection|mediaPlayback" /> -        <!-- The SDK's session channel. Exported because that is the point, and not a foreground-             service: CastService already owns that role, and an app-content session needs-             mediaPlayback only, which its enterForeground(withProjection = false) already claims.-             Unbinding is what ends a session, so the binding is the session's lifetime. -->         <service             android:name=".service.ContentCastService"             android:exported="true"
cast/src/main/res/drawable/ic_cast.xml
diff --git a/cast/src/main/res/drawable/ic_cast.xml b/cast/src/main/res/drawable/ic_cast.xmlindex 1549dadd0e..9822881c1a 100644--- a/cast/src/main/res/drawable/ic_cast.xml+++ b/cast/src/main/res/drawable/ic_cast.xml@@ -1,6 +1,4 @@ <?xml version="1.0" encoding="utf-8"?>-<!-- Notification small icon. A drawable rather than the launcher mipmap because the status-     bar tints and masks whatever it is given, and a full-colour icon comes out as a blob. --> <vector xmlns:android="http://schemas.android.com/apk/res/android"     android:width="24dp"     android:height="24dp"
cast/src/main/res/drawable/ic_tile_cast_mirror.xml
diff --git a/cast/src/main/res/drawable/ic_tile_cast_mirror.xml b/cast/src/main/res/drawable/ic_tile_cast_mirror.xmlindex d3df1c0e48..6d6528712f 100644--- a/cast/src/main/res/drawable/ic_tile_cast_mirror.xml+++ b/cast/src/main/res/drawable/ic_tile_cast_mirror.xml@@ -4,9 +4,6 @@     android:viewportWidth="24"     android:viewportHeight="24"     android:tint="?android:attr/colorControlNormal">-    <!-- A screen with a cast glyph inside it. Monochrome and tinted by colorControlNormal so-         Quick Settings can shade it by state; the white-tinted ic_cast stays the notification-         icon, which needs a fixed colour instead. -->     <path         android:fillColor="#FFFFFFFF"         android:pathData="M21,3L3,3C1.9,3 1,3.9 1,5v12c0,1.1 0.9,2 2,2h5v2h8v-2h5c1.1,0 2,-0.9 2,-2L23,5c0,-1.1 -0.9,-2 -2,-2zM21,17L3,17L3,5h18v12z" />
cast/tv/src/main/AndroidManifest.xml
diff --git a/cast/tv/src/main/AndroidManifest.xml b/cast/tv/src/main/AndroidManifest.xmlindex 88fc46324a..1744de855d 100644--- a/cast/tv/src/main/AndroidManifest.xml+++ b/cast/tv/src/main/AndroidManifest.xml@@ -1,32 +1,18 @@ <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android"> -    <!-- MA Cast receiver. Everything is on the LAN: mDNS to advertise, a TCP socket for the-         control channel, and UDP for the RTP stream. Deliberately NO android.permission.INTERNET-         beyond what the LAN needs - the phone is the only device that is meant to have internet-         access, and this app never reaches past the local network. -->     <uses-permission android:name="android.permission.INTERNET" />     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />     <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />-    <!-- Local Network Protections (Android 16+): without this NsdManager.registerService throws-         SecurityException and every LAN socket is blocked, which would make this receiver silently-         invisible rather than visibly broken. -->     <uses-permission android:name="android.permission.ACCESS_LOCAL_NETWORK" /> -    <!-- mediaPlayback, because that is what this is: the service holds the sockets and decodes a-         stream for as long as the phone is sending. Not subject to Android 15's cumulative-runtime-         cap, which applies only to dataSync and mediaProcessing. -->     <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />     <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />     <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> -    <!-- Leanback is required, not optional: this app is only usable with a remote on a TV, and-         listing it on a phone would offer a receiver to a device that cannot be one. -->     <uses-feature         android:name="android.software.leanback"         android:required="true" />-    <!-- Android TV has no touchscreen, and the default for this feature is `required="true"`, so-         omitting it would make the app uninstallable on the only hardware it targets. -->     <uses-feature         android:name="android.hardware.touchscreen"         android:required="false" />@@ -52,15 +38,10 @@             android:theme="@style/Theme.General">             <intent-filter>                 <action android:name="android.intent.action.MAIN" />-                <!-- LEANBACK_LAUNCHER, not LAUNCHER: the Android TV home screen only shows the-                     former, so without it the app installs and is then unreachable. -->                 <category android:name="android.intent.category.LEANBACK_LAUNCHER" />             </intent-filter>         </activity> -        <!-- The picture. A separate Activity from the idle screen so the decoder surface can be-             created, torn down and rotated independently of the pairing UI, and so the system's own-             recents/back behaviour returns to idle rather than to a black surface. -->         <activity             android:name=".platform.MirrorActivity"             android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"@@ -69,8 +50,6 @@             android:launchMode="singleTop"             android:theme="@style/Theme.General" /> -        <!-- Owns the mDNS registration and both sockets. A foreground service because a receiver-             that stops listening when its Activity goes away is not a receiver. -->         <service             android:name=".service.ReceiverService"             android:exported="false"
cast/tv/src/main/res/drawable/banner.xml
diff --git a/cast/tv/src/main/res/drawable/banner.xml b/cast/tv/src/main/res/drawable/banner.xmlindex f04b2609ac..b6af7cff6a 100644--- a/cast/tv/src/main/res/drawable/banner.xml+++ b/cast/tv/src/main/res/drawable/banner.xml@@ -1,16 +1,4 @@ <?xml version="1.0" encoding="utf-8"?>-<!---  android:banner - the 16:9 tile the Android TV home screen draws for this app. Committed rather-  than generated: LauncherIconGen produces only the adaptive launcher icon, which the leanback-  launcher never shows, so without this file the app appears as a blank rectangle.--  Declared at 160x90dp rather than the conventional 320x180: a vector scales losslessly to whatever-  the launcher asks for, and staying under 200dp keeps it inside the size at which vector drawing is-  cheap (lint's VectorRaster). The aspect ratio is what actually matters.--  The cast glyph is the same path as :cast's ic_cast, so the two halves of the feature look like one-  thing.---> <vector xmlns:android="http://schemas.android.com/apk/res/android"     android:width="160dp"     android:height="90dp"
cast/tv/src/main/res/drawable/ic_cast_tv.xml
diff --git a/cast/tv/src/main/res/drawable/ic_cast_tv.xml b/cast/tv/src/main/res/drawable/ic_cast_tv.xmlindex 15cafa8d28..9822881c1a 100644--- a/cast/tv/src/main/res/drawable/ic_cast_tv.xml+++ b/cast/tv/src/main/res/drawable/ic_cast_tv.xml@@ -1,7 +1,4 @@ <?xml version="1.0" encoding="utf-8"?>-<!-- Notification small icon. A drawable rather than the launcher mipmap because the status bar-     tints and masks whatever it is given, and a full-colour icon comes out as a blob. Same glyph-     as :cast's ic_cast, so the two halves of the feature look like one thing. --> <vector xmlns:android="http://schemas.android.com/apk/res/android"     android:width="24dp"     android:height="24dp"
clock/src/main/res/drawable/analog_clock_dial.xml
diff --git a/clock/src/main/res/drawable/analog_clock_dial.xml b/clock/src/main/res/drawable/analog_clock_dial.xmlindex c2e1631e43..64a8270f56 100644--- a/clock/src/main/res/drawable/analog_clock_dial.xml+++ b/clock/src/main/res/drawable/analog_clock_dial.xml@@ -1,6 +1,4 @@ <?xml version="1.0" encoding="utf-8"?>-<!-- Clock face: intentionally blank. This vector only defines the clock's intrinsic size-     (200x200) so AnalogClock scales the hands to match; the tick dots have been removed. --> <vector xmlns:android="http://schemas.android.com/apk/res/android"     android:width="200dp"     android:height="200dp"
clock/src/main/res/drawable/analog_clock_hand_hour.xml
diff --git a/clock/src/main/res/drawable/analog_clock_hand_hour.xml b/clock/src/main/res/drawable/analog_clock_hand_hour.xmlindex ec3ca375d1..02cb22e839 100644--- a/clock/src/main/res/drawable/analog_clock_hand_hour.xml+++ b/clock/src/main/res/drawable/analog_clock_hand_hour.xml@@ -1,5 +1,4 @@ <?xml version="1.0" encoding="utf-8"?>-<!-- Hour hand: thick rounded bar. AnalogClock rotates it about the dial center (100,100). --> <vector xmlns:android="http://schemas.android.com/apk/res/android"     android:width="200dp"     android:height="200dp"
clock/src/main/res/drawable/analog_clock_hand_minute.xml
diff --git a/clock/src/main/res/drawable/analog_clock_hand_minute.xml b/clock/src/main/res/drawable/analog_clock_hand_minute.xmlindex 510f6d50c6..cb3c1409a2 100644--- a/clock/src/main/res/drawable/analog_clock_hand_minute.xml+++ b/clock/src/main/res/drawable/analog_clock_hand_minute.xml@@ -1,5 +1,4 @@ <?xml version="1.0" encoding="utf-8"?>-<!-- Minute hand: thinner, longer rounded bar. --> <vector xmlns:android="http://schemas.android.com/apk/res/android"     android:width="200dp"     android:height="200dp"
clock/src/main/res/drawable/analog_clock_hand_second.xml
diff --git a/clock/src/main/res/drawable/analog_clock_hand_second.xml b/clock/src/main/res/drawable/analog_clock_hand_second.xmlindex 1bd75fabad..4d0415bc4c 100644--- a/clock/src/main/res/drawable/analog_clock_hand_second.xml+++ b/clock/src/main/res/drawable/analog_clock_hand_second.xml@@ -1,7 +1,4 @@ <?xml version="1.0" encoding="utf-8"?>-<!-- Second "hand" rendered as a filled DOT (not a line). The circle sits near the top-     of an otherwise transparent drawable; AnalogClock rotates the whole drawable about-     the dial center (100,100), so the dot orbits the dial once per minute. --> <vector xmlns:android="http://schemas.android.com/apk/res/android"     android:width="200dp"     android:height="200dp"
clock/src/main/res/drawable/analog_clock_widget_background.xml
diff --git a/clock/src/main/res/drawable/analog_clock_widget_background.xml b/clock/src/main/res/drawable/analog_clock_widget_background.xmlindex 0f0dfe5ce8..b83e59dbec 100644--- a/clock/src/main/res/drawable/analog_clock_widget_background.xml+++ b/clock/src/main/res/drawable/analog_clock_widget_background.xml@@ -1,8 +1,4 @@ <?xml version="1.0" encoding="utf-8"?>-<!-- Flower blob for the analog clock widget: matches BlackyHawky/Clock's-     analog_clock_dial_flower (12 smooth rounded bumps with smooth valleys; original shape-     designed by iJahangard). Kept 1:1 (square) so it always renders as a blob; the layout-     scales it with fitCenter to stay centered and as large as possible in any widget size. --> <vector xmlns:android="http://schemas.android.com/apk/res/android"     android:width="200dp"     android:height="200dp"
clock/src/main/res/layout/analog_clock_widget.xml
diff --git a/clock/src/main/res/layout/analog_clock_widget.xml b/clock/src/main/res/layout/analog_clock_widget.xmlindex 82d09f2bd7..e47624c0f3 100644--- a/clock/src/main/res/layout/analog_clock_widget.xml+++ b/clock/src/main/res/layout/analog_clock_widget.xml@@ -1,8 +1,4 @@ <?xml version="1.0" encoding="utf-8"?>-<!-- The blob background is drawn by an ImageView with scaleType="fitCenter" (instead of-     as the root's stretchable background) so it always stays a centered 1:1 blob, as large-     as possible, even when the widget is resized into a non-square rectangle. The framework-     AnalogClock likewise scales its square dial centered, so the two stay aligned. --> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"     android:id="@+id/analog_clock_widget_root"     android:layout_width="match_parent"
clock/src/main/res/values-night/colors.xml
diff --git a/clock/src/main/res/values-night/colors.xml b/clock/src/main/res/values-night/colors.xmlindex 9c7f20f10c..3a7e837684 100644--- a/clock/src/main/res/values-night/colors.xml+++ b/clock/src/main/res/values-night/colors.xml@@ -1,5 +1,4 @@ <?xml version="1.0" encoding="utf-8"?>-<!-- Analog clock widget colors (dark). Mirrors BlackyHawky/Clock's values-night-v31 mapping. --> <resources>     <color name="clock_widget_background">@android:color/system_accent2_800</color>     <color name="clock_widget_hour">@android:color/system_accent2_400</color>
clock/src/main/res/values/colors.xml
diff --git a/clock/src/main/res/values/colors.xml b/clock/src/main/res/values/colors.xmlindex 06ca3fc587..d047158839 100644--- a/clock/src/main/res/values/colors.xml+++ b/clock/src/main/res/values/colors.xml@@ -1,5 +1,4 @@ <?xml version="1.0" encoding="utf-8"?>-<!-- Analog clock widget colors (light). Mirrors BlackyHawky/Clock's values-v31 mapping. --> <resources>     <color name="clock_widget_background">@android:color/system_accent2_50</color>     <color name="clock_widget_hour">@android:color/system_accent2_700</color>
clock/src/main/res/xml/analog_clock_widget_info.xml
diff --git a/clock/src/main/res/xml/analog_clock_widget_info.xml b/clock/src/main/res/xml/analog_clock_widget_info.xmlindex decde61a2e..a43b5ceb6b 100644--- a/clock/src/main/res/xml/analog_clock_widget_info.xml+++ b/clock/src/main/res/xml/analog_clock_widget_info.xml@@ -1,6 +1,4 @@ <?xml version="1.0" encoding="utf-8"?>-<!-- updatePeriodMillis is 0: the framework AnalogClock ticks its own hands, so the-     widget never needs an AppWidgetManager refresh to stay current. --> <appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"     android:minWidth="110dp"     android:minHeight="110dp"
code/src/main/AndroidManifest.xml
diff --git a/code/src/main/AndroidManifest.xml b/code/src/main/AndroidManifest.xmlindex 4d2cc89178..691cb8cd2c 100644--- a/code/src/main/AndroidManifest.xml+++ b/code/src/main/AndroidManifest.xml@@ -1,8 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android"> -    <!-- Real filesystem access so git and the terminal can operate on the opened project.-         Acceptable for F-Droid / sideload; would be risky on Google Play. -->     <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />      <application@@ -22,7 +20,6 @@                 <action android:name="android.intent.action.MAIN" />                 <category android:name="android.intent.category.LAUNCHER" />             </intent-filter>-            <!-- Open text files shared/viewed from other apps directly in the editor. -->             <intent-filter>                 <action android:name="android.intent.action.VIEW" />                 <action android:name="android.intent.action.EDIT" />
communicate/src/main/AndroidManifest.xml
diff --git a/communicate/src/main/AndroidManifest.xml b/communicate/src/main/AndroidManifest.xmlindex b8e8bcc069..32dff1e10f 100644--- a/communicate/src/main/AndroidManifest.xml+++ b/communicate/src/main/AndroidManifest.xml@@ -12,8 +12,6 @@     <uses-permission android:name="android.permission.ANSWER_PHONE_CALLS" />     <uses-permission android:name="android.permission.READ_PHONE_STATE" /> -    <!-- Google Voice virtual line: network for protojson RPCs + SIP/WSS, mic + audio-         routing for VoIP, self-managed calls, and the ongoing-call foreground service. -->     <uses-permission android:name="android.permission.INTERNET" />     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />     <uses-permission android:name="android.permission.RECORD_AUDIO" />@@ -27,7 +25,6 @@     <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />     <uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" /> -    <!-- WhatsApp calling (Phase D/E): camera for video calls + FGS types for in-call mic/camera. -->     <uses-permission android:name="android.permission.CAMERA" />     <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MICROPHONE" />     <uses-permission android:name="android.permission.FOREGROUND_SERVICE_CAMERA" />@@ -141,8 +138,6 @@             </intent-filter>         </service> -        <!-- Google Voice virtual line: self-managed ConnectionService (the "GV SIM") + the-             foreground service that hosts the active VoIP call. -->         <service             android:name=".telephony.GoogleVoiceConnectionService"             android:exported="true"@@ -172,7 +167,6 @@             android:exported="false"             android:foregroundServiceType="phoneCall" /> -        <!-- Exposes the temporary M-Send.req PDU file to the system MMS service. -->         <provider             android:name="androidx.core.content.FileProvider"             android:authorities="${applicationId}.mmsfileprovider"
communicate/src/main/res/xml/mms_file_paths.xml
diff --git a/communicate/src/main/res/xml/mms_file_paths.xml b/communicate/src/main/res/xml/mms_file_paths.xmlindex 8001ddecbf..99d8fe3265 100644--- a/communicate/src/main/res/xml/mms_file_paths.xml+++ b/communicate/src/main/res/xml/mms_file_paths.xml@@ -1,5 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> <paths xmlns:android="http://schemas.android.com/apk/res/android">-    <!-- Temporary outgoing MMS PDU files handed to the system MMS service. -->     <cache-path name="mms_out" path="mms/" /> </paths>
contacts/src/main/AndroidManifest.xml
diff --git a/contacts/src/main/AndroidManifest.xml b/contacts/src/main/AndroidManifest.xmlindex 2dc20a245e..ac0179be52 100644--- a/contacts/src/main/AndroidManifest.xml+++ b/contacts/src/main/AndroidManifest.xml@@ -53,7 +53,6 @@                 <action android:name="android.intent.action.MAIN" />                 <category android:name="android.intent.category.LAUNCHER" />             </intent-filter>-            <!-- Surfaces an in-app settings entry on the system App Info page. -->             <intent-filter>                 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />                 <category android:name="android.intent.category.DEFAULT" />
email/src/main/AndroidManifest.xml
diff --git a/email/src/main/AndroidManifest.xml b/email/src/main/AndroidManifest.xmlindex 6180180172..1b1636b017 100644--- a/email/src/main/AndroidManifest.xml+++ b/email/src/main/AndroidManifest.xml@@ -32,7 +32,6 @@                 <action android:name="android.intent.action.MAIN" />                 <category android:name="android.intent.category.LAUNCHER" />             </intent-filter>-            <!-- Surfaces an in-app settings entry on the system App Info page. -->             <intent-filter>                 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />                 <category android:name="android.intent.category.DEFAULT" />@@ -50,7 +49,6 @@                 <data android:scheme="mailto" />             </intent-filter> -            <!-- .eml file viewer: handle taps from Files / Downloads / file managers -->             <intent-filter>                 <action android:name="android.intent.action.VIEW" />                 <category android:name="android.intent.category.DEFAULT" />@@ -113,11 +111,6 @@                 android:resource="@xml/file_paths" />         </provider> -        <!-- Microsoft OAuth redirect handler. Azure app registered as Mobile & Desktop-             with redirect com.vayunmathur.email://oauth per RFC8252 compliant native pattern.-             Thunderbird Desktop uses useExternalBrowser=true + custom scheme same as this.-             Single filter only — second filter with host=\"\" was invalid on Android 12+ (AOSP disallows empty host)-             and prevented intent resolution for com.vayunmathur.email://oauth. -->         <activity             android:name=".ui.OAuthActivity"             android:exported="true"
email/src/main/res/drawable/ic_notification_mail.xml
diff --git a/email/src/main/res/drawable/ic_notification_mail.xml b/email/src/main/res/drawable/ic_notification_mail.xmlindex 33ed5c5525..2178f048a9 100644--- a/email/src/main/res/drawable/ic_notification_mail.xml+++ b/email/src/main/res/drawable/ic_notification_mail.xml@@ -1,14 +1,3 @@-<!---  ~ Status-bar notification icon. MUST be a flat 24dp viewport with white-  ~ shapes on transparent background — Android tints notification small-  ~ icons to the current status-bar color and any non-white pixels get-  ~ flattened, while sub-24dp content gets dwarfed in the cutout.-  ~-  ~ The previous use of `ic_launcher_foreground` here looked tiny because-  ~ that drawable is an adaptive-icon foreground (108dp viewport with the-  ~ glyph scaled to ~58% and centered) — perfectly fine for the launcher-  ~ but way too small once rebounded into the status bar's ~24dp slot.-  --> <vector xmlns:android="http://schemas.android.com/apk/res/android"     android:width="24dp"     android:height="24dp"
email/src/main/res/xml/network_security_config.xml
diff --git a/email/src/main/res/xml/network_security_config.xml b/email/src/main/res/xml/network_security_config.xmlindex d360c426a8..52c44ac992 100644--- a/email/src/main/res/xml/network_security_config.xml+++ b/email/src/main/res/xml/network_security_config.xml@@ -1,7 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> <network-security-config>-    <!-- Email must allow any cert because users can configure arbitrary self-hosted IMAP/SMTP servers.-         Base config allows system + user-installed CAs, no cleartext. -->     <base-config cleartextTrafficPermitted="false">         <trust-anchors>             <certificates src="system" />
euicc/src/main/AndroidManifest.xml
diff --git a/euicc/src/main/AndroidManifest.xml b/euicc/src/main/AndroidManifest.xmlindex 344e0ec521..72399a675b 100644--- a/euicc/src/main/AndroidManifest.xml+++ b/euicc/src/main/AndroidManifest.xml@@ -1,17 +1,11 @@ <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android"> -    <!-- Driving the eUICC over a telephony logical channel requires either carrier-         privileges or a platform-signed system app holding these permissions. -->     <uses-permission android:name="android.permission.READ_PHONE_STATE" />     <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />-    <!-- Privileged: manage embedded (eSIM) subscriptions as the system LPA. Granted-         only to a platform-signed priv-app whitelisted in privapp-permissions*.xml. -->     <uses-permission android:name="android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS" />     <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" />-    <!-- Reaching the SM-DP+ for profile download. -->     <uses-permission android:name="android.permission.INTERNET" />-    <!-- Scanning eSIM activation-code QR codes. -->     <uses-permission android:name="android.permission.CAMERA" />     <uses-feature android:name="android.hardware.camera.any" android:required="false" /> @@ -32,7 +26,6 @@                 <action android:name="android.intent.action.MAIN" />                 <category android:name="android.intent.category.LAUNCHER" />             </intent-filter>-            <!-- Local User Interface (LUI) the framework starts for eSIM management. -->             <intent-filter android:priority="10">                 <action android:name="android.service.euicc.action.MANAGE_EMBEDDED_SUBSCRIPTIONS" />                 <action android:name="android.service.euicc.action.PROVISION_EMBEDDED_SUBSCRIPTION" />@@ -40,9 +33,6 @@             </intent-filter>         </activity> -        <!-- System LPA service. The platform's EuiccManager binds this via the-             EuiccService action once this app is the configured LPA; access is-             gated by the system-only BIND_EUICC_SERVICE permission. -->         <service             android:name=".service.EuiccManagerService"             android:exported="true"
everysync/src/main/AndroidManifest.xml
diff --git a/everysync/src/main/AndroidManifest.xml b/everysync/src/main/AndroidManifest.xmlindex 444846bd7f..c794517c8f 100644--- a/everysync/src/main/AndroidManifest.xml+++ b/everysync/src/main/AndroidManifest.xml@@ -5,22 +5,18 @@     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> -    <!-- Contacts -->     <uses-permission android:name="android.permission.READ_CONTACTS" />     <uses-permission android:name="android.permission.WRITE_CONTACTS" /> -    <!-- Calendar -->     <uses-permission android:name="android.permission.READ_CALENDAR" />     <uses-permission android:name="android.permission.WRITE_CALENDAR" /> -    <!-- Accounts + sync framework -->     <uses-permission android:name="android.permission.GET_ACCOUNTS" />     <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />     <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />     <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />     <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" /> -    <!-- Health Connect: body composition + vitals synced from Google Health. -->     <uses-permission android:name="android.permission.health.READ_WEIGHT" />     <uses-permission android:name="android.permission.health.WRITE_WEIGHT" />     <uses-permission android:name="android.permission.health.READ_HEIGHT" />@@ -90,17 +86,12 @@                 <action android:name="android.intent.action.MAIN" />                 <category android:name="android.intent.category.LAUNCHER" />             </intent-filter>-            <!-- Surfaces an in-app settings entry on the system App Info page. -->             <intent-filter>                 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />                 <category android:name="android.intent.category.DEFAULT" />             </intent-filter>         </activity> -        <!-- Receives the OAuth2 redirect (com.vayunmathur.everysync:/oauth). The-             custom scheme is the app id, registered as the iOS OAuth client's-             bundle ID in Google Cloud. Scheme-only filter so the hostless-             `com.vayunmathur.everysync:/oauth` is matched. -->         <activity             android:name=".auth.OAuthCallbackActivity"             android:exported="true"@@ -114,7 +105,6 @@             </intent-filter>         </activity> -        <!-- Health Connect permission rationale (Android 13 and 14+). -->         <activity             android:name=".ui.PermissionsRationaleActivity"             android:exported="true">@@ -133,7 +123,6 @@             </intent-filter>         </activity-alias> -        <!-- Account authenticator: all EverySync accounts share one account type. -->         <service             android:name=".auth.AuthenticatorService"             android:exported="false">@@ -145,7 +134,6 @@                 android:resource="@xml/authenticator" />         </service> -        <!-- Contacts sync adapter. -->         <service             android:name=".sync.ContactsSyncService"             android:exported="false">@@ -160,7 +148,6 @@                 android:resource="@xml/contacts" />         </service> -        <!-- Calendar sync adapter. -->         <service             android:name=".sync.CalendarSyncService"             android:exported="false">@@ -172,7 +159,6 @@                 android:resource="@xml/syncadapter_calendar" />         </service> -        <!-- Re-schedules the periodic sync after reboot / app update. -->         <receiver             android:name=".platform.BootReceiver"             android:exported="true"
files/src/main/AndroidManifest.xml
diff --git a/files/src/main/AndroidManifest.xml b/files/src/main/AndroidManifest.xmlindex 4b4113ad31..efc9439c9a 100644--- a/files/src/main/AndroidManifest.xml+++ b/files/src/main/AndroidManifest.xml@@ -5,13 +5,9 @@     <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"         tools:ignore="AllFilesAccessPolicy,ScopedStorage" />     <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />-    <!-- Lets the app hand an .apk to the system package installer. The user must still-         grant "install unknown apps" to Files before an install can proceed. -->     <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />     <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />     <uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />-    <!-- Signature|privileged. Granted only when Files ships as the system documents UI (MAOS);-         ignored on a normal install. Lets the SAF picker return/persist provider-backed URIs. -->     <uses-permission android:name="android.permission.MANAGE_DOCUMENTS"         tools:ignore="ProtectedPermissions" /> @@ -46,7 +42,6 @@             </intent-filter>         </activity> -        <!-- Text editor activity to open/edit/save text files using SAF -->         <activity android:name=".ui.TextEditorActivity"             android:exported="true"             android:launchMode="standard"@@ -66,12 +61,6 @@             </intent-filter>         </activity> -        <!-- Storage Access Framework picker. Files takes over DocumentsUI's SAF role, but-             ONLY when it is the privileged system documents UI. Ships DISABLED so it never-             appears (e.g. in GET_CONTENT choosers) on a normal install; FilesApp enables it-             at startup iff MANAGE_DOCUMENTS is granted. The OPEN_DOCUMENT / CREATE_DOCUMENT /-             OPEN_DOCUMENT_TREE actions are only ever routed by the framework to the configured-             documents UI package, so they are inert elsewhere regardless. -->         <activity             android:name=".data.saf.DocumentPickerActivity"             android:enabled="false"
findfamily/src/dev/AndroidManifest.xml
diff --git a/findfamily/src/dev/AndroidManifest.xml b/findfamily/src/dev/AndroidManifest.xmlindex cbef43f128..7d03950b7b 100644--- a/findfamily/src/dev/AndroidManifest.xml+++ b/findfamily/src/dev/AndroidManifest.xml@@ -1,15 +1,6 @@ <?xml version="1.0" encoding="utf-8"?>-<!---  Dev-only manifest overlay. AGP merges this ONLY into the `dev` (and, by source-set-  convention, debug) variant, never into `release`. It declares the Bluetooth-  permissions the experimental custom UWB tracker feature needs for BLE binding-  (GATT) and crowd-finding (LE scan). Release builds gate the whole feature off via-  BuildConfig.DEV_BUILD and therefore never declare or request these.---> <manifest xmlns:android="http://schemas.android.com/apk/res/android"> -    <!-- Crowd-finding: scan for tracker beacons. Binding: connect to the tracker's-         GATT server. Advertising is reserved for future tracker-emulation testing. -->     <uses-permission android:name="android.permission.BLUETOOTH_SCAN" />     <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />     <uses-permission android:name="android.permission.BLUETOOTH_ADVERTISE" />
findfamily/src/main/AndroidManifest.xml
diff --git a/findfamily/src/main/AndroidManifest.xml b/findfamily/src/main/AndroidManifest.xmlindex b1fcf9a593..87ee7e1778 100644--- a/findfamily/src/main/AndroidManifest.xml+++ b/findfamily/src/main/AndroidManifest.xml@@ -15,10 +15,6 @@     <uses-permission android:name="android.permission.FOREGROUND_SERVICE_LOCATION" />     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> -    <!-- Find Nearby (UWB) screen uses the public android.ranging API-         introduced in Android 15. We do not depend on androidx.core.uwb-         (its only backend is GMS, which is broken on GrapheneOS), and-         consequently do not declare UWB_RANGING. -->     <uses-permission android:name="android.permission.RANGING" />     <uses-feature android:name="android.hardware.uwb" android:required="false" /> @@ -46,8 +42,6 @@                  <category android:name="android.intent.category.LAUNCHER" />             </intent-filter>-            <!-- Deep-link invite: findfamily://add/<base26Userid>. Carries only the-                 sender's public id; tapping prefills the Add Person dialog. -->             <intent-filter>                 <action android:name="android.intent.action.VIEW" /> @@ -63,9 +57,6 @@             android:foregroundServiceType="location"             android:exported="false" /> -        <!-- Live family-location channel for co-signed apps (the maps app binds-             this while its map screen is open). Guarded by the signature-             permission below so only apps signed with the same key can bind. -->         <service             android:name=".ipc.FamilyLocationService"             android:exported="true"@@ -75,7 +66,6 @@             </intent-filter>         </service> -        <!-- Quick Settings tile to turn location tracking on/off (GitHub #487). -->         <service             android:name=".util.TrackingTileService"             android:exported="true"
findfamily/src/main/res/drawable/ic_tile_tracking.xml
diff --git a/findfamily/src/main/res/drawable/ic_tile_tracking.xml b/findfamily/src/main/res/drawable/ic_tile_tracking.xmlindex dbf030818a..a8504aa35a 100644--- a/findfamily/src/main/res/drawable/ic_tile_tracking.xml+++ b/findfamily/src/main/res/drawable/ic_tile_tracking.xml@@ -4,7 +4,6 @@     android:viewportWidth="24"     android:viewportHeight="24"     android:tint="?android:attr/colorControlNormal">-    <!-- Location pin; monochrome so the Quick Settings tile can tint it by state. -->     <path         android:fillColor="#FFFFFFFF"         android:pathData="M12,2C8.13,2 5,5.13 5,9c0,5.25 7,13 7,13s7,-7.75 7,-13c0,-3.87 -3.13,-7 -7,-7zM12,11.5c-1.38,0 -2.5,-1.12 -2.5,-2.5s1.12,-2.5 2.5,-2.5 2.5,1.12 2.5,2.5 -1.12,2.5 -2.5,2.5z" />
findfamily/src/main/res/drawable/ic_warning_gps.xml
diff --git a/findfamily/src/main/res/drawable/ic_warning_gps.xml b/findfamily/src/main/res/drawable/ic_warning_gps.xmlindex bef4019bf1..60f3aa2119 100644--- a/findfamily/src/main/res/drawable/ic_warning_gps.xml+++ b/findfamily/src/main/res/drawable/ic_warning_gps.xml@@ -3,13 +3,11 @@     android:height="24dp"     android:viewportWidth="24"     android:viewportHeight="24">-    <!-- Yellow triangle body -->     <path         android:fillColor="#FFEB3B"         android:strokeColor="#F44336"         android:strokeWidth="1.2"         android:pathData="M12,3 L22,20 L2,20 Z" />-    <!-- Red exclamation mark -->     <path         android:fillColor="#F44336"         android:pathData="M11,9h2v6h-2z" />
fooddelivery/src/main/AndroidManifest.xml
diff --git a/fooddelivery/src/main/AndroidManifest.xml b/fooddelivery/src/main/AndroidManifest.xmlindex e14a7a89b3..a1e6ea6f7e 100644--- a/fooddelivery/src/main/AndroidManifest.xml+++ b/fooddelivery/src/main/AndroidManifest.xml@@ -6,10 +6,6 @@     <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />     <uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" /> -    <!-- Cross-app orderable-lookup guard (P19): the exported OrderLookupProvider-         is readable only by apps signed with the same key (the maps app), which-         is why this is signature-level. On any other signer it is not granted and-         the provider is simply unreadable. -->     <permission         android:name="com.vayunmathur.fooddelivery.permissions.ACCESS_ORDERS"         android:protectionLevel="signature" />@@ -33,9 +29,6 @@                 <action android:name="android.intent.action.MAIN" />                 <category android:name="android.intent.category.LAUNCHER" />             </intent-filter>-            <!-- Cross-app deep link (P19): fooddelivery://restaurant/<id> opens-                 that merchant's order page. Fired by the maps place-sheet "Order"-                 button (see OrderLookupContract.deepLink). -->             <intent-filter>                 <action android:name="android.intent.action.VIEW" />                 <category android:name="android.intent.category.DEFAULT" />@@ -44,9 +37,6 @@             </intent-filter>         </activity> -        <!-- Cross-app orderable lookup (P19): tolerant name+proximity match over-             the merchant catalog, returning { orderable, restaurantId, deepLink }.-             Exported but signature-guarded so only co-signed apps (maps) can read. -->         <provider             android:name=".ipc.OrderLookupProvider"             android:authorities="com.vayunmathur.fooddelivery.orderlookup"
games/hub/src/main/AndroidManifest.xml
diff --git a/games/hub/src/main/AndroidManifest.xml b/games/hub/src/main/AndroidManifest.xmlindex 1ac39c1b75..387cf1695e 100644--- a/games/hub/src/main/AndroidManifest.xml+++ b/games/hub/src/main/AndroidManifest.xml@@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android"> -    <!-- Read = playtime history, sessions, achievement state. Write = forging any of it. -->     <permission         android:name="com.vayunmathur.games.hub.permission.READ_GAME_DATA"         android:protectionLevel="signature" />@@ -10,7 +9,6 @@         android:protectionLevel="signature" />      <queries>-        <!-- Allow packageManager.getPackageInfo + getLaunchIntentForPackage to see installed games -->         <package android:name="com.vayunmathur.games.chess" />         <package android:name="com.vayunmathur.games.alchemist" />         <package android:name="com.vayunmathur.games.pipes" />@@ -20,7 +18,6 @@         <package android:name="com.vayunmathur.games.logicgate" />         <package android:name="com.vayunmathur.games.voxels" />         <package android:name="com.vayunmathur.games" />-        <!-- Also allow generic launcher query as fallback for any com.vayunmathur.games.* -->         <intent>             <action android:name="android.intent.action.MAIN" />         </intent>
games/pipes/src/main/AndroidManifest.xml
diff --git a/games/pipes/src/main/AndroidManifest.xml b/games/pipes/src/main/AndroidManifest.xmlindex 92b30aa543..8fa4ea33c4 100644--- a/games/pipes/src/main/AndroidManifest.xml+++ b/games/pipes/src/main/AndroidManifest.xml@@ -23,7 +23,6 @@                  <category android:name="android.intent.category.LAUNCHER" />             </intent-filter>-            <!-- Surfaces an in-app settings entry on the system App Info page. -->             <intent-filter>                 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />                 <category android:name="android.intent.category.DEFAULT" />
games/voxels/src/main/AndroidManifest.xml
diff --git a/games/voxels/src/main/AndroidManifest.xml b/games/voxels/src/main/AndroidManifest.xmlindex f604c5722f..e998e01509 100644--- a/games/voxels/src/main/AndroidManifest.xml+++ b/games/voxels/src/main/AndroidManifest.xml@@ -27,8 +27,6 @@                 <category android:name="android.intent.category.LAUNCHER" />             </intent-filter> -            <!-- Deep-link join request: voxels://join/<worldId>?owner=<ownerDeviceId>. Lands in the-                 menu (not the game) and sends a sealed join request to the host. Public ids only. -->             <intent-filter>                 <action android:name="android.intent.action.VIEW" /> 
games/wordmaker/src/main/AndroidManifest.xml
diff --git a/games/wordmaker/src/main/AndroidManifest.xml b/games/wordmaker/src/main/AndroidManifest.xmlindex c05ffd8d37..f17d712745 100644--- a/games/wordmaker/src/main/AndroidManifest.xml+++ b/games/wordmaker/src/main/AndroidManifest.xml@@ -23,7 +23,6 @@                  <category android:name="android.intent.category.LAUNCHER" />             </intent-filter>-            <!-- Surfaces an in-app settings entry on the system App Info page. -->             <intent-filter>                 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />                 <category android:name="android.intent.category.DEFAULT" />
games/wordmaker/src/main/res/drawable/backspace_24px.xml
diff --git a/games/wordmaker/src/main/res/drawable/backspace_24px.xml b/games/wordmaker/src/main/res/drawable/backspace_24px.xmlindex d6ba8fc613..5c6a9a7b1d 100644--- a/games/wordmaker/src/main/res/drawable/backspace_24px.xml+++ b/games/wordmaker/src/main/res/drawable/backspace_24px.xml@@ -1,18 +1,3 @@-<!---  ~ Copyright (C) 2026 The Android Open Source Project-  ~-  ~ Licensed under the Apache License, Version 2.0 (the "License");-  ~ you may not use this file except in compliance with the License.-  ~ You may obtain a copy of the License at-  ~-  ~      http://www.apache.org/licenses/LICENSE-2.0-  ~-  ~ Unless required by applicable law or agreed to in writing, software-  ~ distributed under the License is distributed on an "AS IS" BASIS,-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.-  ~ See the License for the specific language governing permissions and-  ~ limitations under the License.-  --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:autoMirrored="true" android:height="24dp" android:tint="#000000" android:viewportHeight="960" android:viewportWidth="960" android:width="24dp">            <path android:fillColor="@android:color/white" android:pathData="M456,640L560,536L664,640L720,584L616,480L720,376L664,320L560,424L456,320L400,376L504,480L400,584L456,640ZM360,800Q341,800 324,791.5Q307,783 296,768L80,480L296,192Q307,177 324,168.5Q341,160 360,160L800,160Q833,160 856.5,183.5Q880,207 880,240L880,720Q880,753 856.5,776.5Q833,800 800,800L360,800ZM180,480L360,720Q360,720 360,720Q360,720 360,720L800,720Q800,720 800,720Q800,720 800,720L800,240Q800,240 800,240Q800,240 800,240L360,240Q360,240 360,240Q360,240 360,240L180,480ZM580,480Q580,480 580,480Q580,480 580,480L580,480Q580,480 580,480Q580,480 580,480L580,480Q580,480 580,480Q580,480 580,480L580,480L580,480Q580,480 580,480Q580,480 580,480Z"/>
games/wordmaker/src/main/res/drawable/keyboard_return_24px.xml
diff --git a/games/wordmaker/src/main/res/drawable/keyboard_return_24px.xml b/games/wordmaker/src/main/res/drawable/keyboard_return_24px.xmlindex 536bff184f..761e2911c6 100644--- a/games/wordmaker/src/main/res/drawable/keyboard_return_24px.xml+++ b/games/wordmaker/src/main/res/drawable/keyboard_return_24px.xml@@ -1,18 +1,3 @@-<!---  ~ Copyright (C) 2026 The Android Open Source Project-  ~-  ~ Licensed under the Apache License, Version 2.0 (the "License");-  ~ you may not use this file except in compliance with the License.-  ~ You may obtain a copy of the License at-  ~-  ~      http://www.apache.org/licenses/LICENSE-2.0-  ~-  ~ Unless required by applicable law or agreed to in writing, software-  ~ distributed under the License is distributed on an "AS IS" BASIS,-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.-  ~ See the License for the specific language governing permissions and-  ~ limitations under the License.-  --> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:autoMirrored="true" android:height="24dp" android:tint="#000000" android:viewportHeight="960" android:viewportWidth="960" android:width="24dp">            <path android:fillColor="@android:color/white" android:pathData="M360,720L120,480L360,240L416,296L272,440L760,440L760,280L840,280L840,520L272,520L416,664L360,720Z"/>
health/src/main/AndroidManifest.xml
diff --git a/health/src/main/AndroidManifest.xml b/health/src/main/AndroidManifest.xmlindex b6f49c8f59..b03f9db2d2 100644--- a/health/src/main/AndroidManifest.xml+++ b/health/src/main/AndroidManifest.xml@@ -2,7 +2,6 @@ <manifest xmlns:android="http://schemas.android.com/apk/res/android">  -    <!-- Activity & Energy -->     <uses-permission android:name="android.permission.health.READ_STEPS" />     <uses-permission android:name="android.permission.health.READ_WHEELCHAIR_PUSHES" />     <uses-permission android:name="android.permission.health.READ_DISTANCE" />@@ -12,7 +11,6 @@     <uses-permission android:name="android.permission.health.READ_FLOORS_CLIMBED" />     <uses-permission android:name="android.permission.health.READ_ELEVATION_GAINED" /> -    <!-- Vitals & Clinical -->     <uses-permission android:name="android.permission.health.READ_HEART_RATE" />     <uses-permission android:name="android.permission.health.READ_RESTING_HEART_RATE" />     <uses-permission android:name="android.permission.health.READ_HEART_RATE_VARIABILITY" />@@ -23,7 +21,6 @@     <uses-permission android:name="android.permission.health.READ_VO2_MAX" />     <uses-permission android:name="android.permission.health.READ_SKIN_TEMPERATURE" /> -    <!-- Body Composition -->     <uses-permission android:name="android.permission.health.READ_WEIGHT" />     <uses-permission android:name="android.permission.health.READ_HEIGHT" />     <uses-permission android:name="android.permission.health.READ_BODY_FAT" />@@ -37,10 +34,8 @@     <uses-permission android:name="android.permission.health.WRITE_BONE_MASS" />     <uses-permission android:name="android.permission.health.WRITE_BODY_WATER_MASS" /> -    <!-- Exercise -->     <uses-permission android:name="android.permission.health.READ_EXERCISE" /> -    <!-- Lifestyle & Nutrition -->     <uses-permission android:name="android.permission.health.READ_SLEEP" />     <uses-permission android:name="android.permission.health.READ_MINDFULNESS" />     <uses-permission android:name="android.permission.health.READ_HYDRATION" />@@ -75,8 +70,6 @@             </intent-filter>         </activity> -        <!-- For supported versions through Android 13, create an activity to show the rationale-     of Health Connect permissions once users click the privacy policy link. -->         <activity             android:name=".ui.PermissionsRationaleActivity"             android:exported="true">@@ -85,8 +78,6 @@             </intent-filter>         </activity> -        <!-- For versions starting Android 14, create an activity alias to show the rationale-             of Health Connect permissions once users click the privacy policy link. -->         <activity-alias             android:name="ViewPermissionUsageActivity"             android:exported="true"
keyboard/src/main/AndroidManifest.xml
diff --git a/keyboard/src/main/AndroidManifest.xml b/keyboard/src/main/AndroidManifest.xmlindex 83a5154207..cdd21d6684 100644--- a/keyboard/src/main/AndroidManifest.xml+++ b/keyboard/src/main/AndroidManifest.xml@@ -12,7 +12,6 @@         android:supportsRtl="true"         android:theme="@style/Theme.General"> -        <!-- Setup / settings launcher activity. -->         <activity             android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"             android:name=".MainActivity"@@ -24,11 +23,6 @@             </intent-filter>         </activity> -        <!-- The input method (IME) service the system binds to.-             directBootAware: required so the keyboard is available on the lock screen after-             a reboot (Direct Boot, before the first unlock) — otherwise you couldn't type-             your password/PIN password. Any data touched before unlock must come from-             device-protected storage (see KeyboardService). -->         <service             android:name=".ime.KeyboardService"             android:label="@string/app_name"@@ -43,7 +37,6 @@                 android:resource="@xml/method" />         </service> -        <!-- Serves cached clipboard images back to the field being pasted into. -->         <provider             android:name="androidx.core.content.FileProvider"             android:authorities="com.vayunmathur.keyboard.fileprovider"
keyboard/src/main/res/xml/method.xml
diff --git a/keyboard/src/main/res/xml/method.xml b/keyboard/src/main/res/xml/method.xmlindex 64767c1a04..ac1450cd07 100644--- a/keyboard/src/main/res/xml/method.xml+++ b/keyboard/src/main/res/xml/method.xml@@ -1,5 +1,4 @@ <?xml version="1.0" encoding="utf-8"?>-<!-- IME descriptor: points the system at the setup activity and declares one English subtype. --> <input-method xmlns:android="http://schemas.android.com/apk/res/android"     android:settingsActivity="com.vayunmathur.keyboard.MainActivity"     android:supportsSwitchingToNextInputMethod="true">
launcher/src/main/AndroidManifest.xml
diff --git a/launcher/src/main/AndroidManifest.xml b/launcher/src/main/AndroidManifest.xmlindex a5a5f53821..6226b254b8 100644--- a/launcher/src/main/AndroidManifest.xml+++ b/launcher/src/main/AndroidManifest.xml@@ -3,38 +3,15 @@     xmlns:tools="http://schemas.android.com/tools">      <uses-permission android:name="android.permission.SET_WALLPAPER" />-    <!-- Read the current wallpaper to preview it in the picker. Ignored on API 33+, where-         WallpaperManager.getDrawable() is restricted to the default home app regardless. -->     <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"         android:maxSdkVersion="32" /> -    <!---        Privileged permissions, declared so a build that *is* on the system image gets the-        features they unlock. On an ordinary device none of them is granted, every probe in-        `platform/LauncherPrivilege.kt` answers false, and the app behaves exactly as it would-        without this block. Only `<uses-permission>` appears here on purpose: a `<permission>`,-        a `sharedUserId` or a `<uses-feature>` would stop the APK installing on a stock device.--        `ProtectedPermissions` is suppressed rather than fixed because it is telling us the truth --        these are granted to system apps only - and that is exactly the arrangement intended. The-        declaration is harmless on a device that will not grant it; requesting it is not possible.-    -->-    <!-- Uninstall without the system confirmation dialog, from the drop bar. -->     <uses-permission android:name="android.permission.DELETE_PACKAGES"         tools:ignore="ProtectedPermissions" />-    <!-- Pause and resume the work profile from the drawer's Work tab. -->     <uses-permission android:name="android.permission.MODIFY_QUIET_MODE"         tools:ignore="ProtectedPermissions" />-    <!-- Pull the notification shade down by swiping down on the workspace. -->     <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" /> -    <!---        The app drawer lists launchable activities, so it needs to see them. This is the-        narrow form of package visibility rather than QUERY_ALL_PACKAGES: it resolves-        exactly the MAIN/LAUNCHER activities a drawer shows and nothing else, and it is-        what makes LauncherApps.getActivityList return a full list before we hold the-        HOME role.-    -->     <queries>         <intent>             <action android:name="android.intent.action.MAIN" />@@ -64,16 +41,9 @@             <intent-filter>                 <action android:name="android.intent.action.MAIN" />                 <category android:name="android.intent.category.LAUNCHER" />-                <!---                    HOME plus DEFAULT is what makes this eligible to be the home app; without-                    DEFAULT the system will not offer it in the chooser. LAUNCHER stays so the-                    app is still reachable from whatever launcher is currently in charge,-                    which matters while it is not yet the default.-                -->                 <category android:name="android.intent.category.HOME" />                 <category android:name="android.intent.category.DEFAULT" />             </intent-filter>-            <!-- Surfaces an in-app settings entry on the system App Info page. -->             <intent-filter>                 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />                 <category android:name="android.intent.category.DEFAULT" />
launcher/src/main/res/values/themes.xml
diff --git a/launcher/src/main/res/values/themes.xml b/launcher/src/main/res/values/themes.xmlindex 0d79a0efc6..f68c71731a 100644--- a/launcher/src/main/res/values/themes.xml+++ b/launcher/src/main/res/values/themes.xml@@ -1,18 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> <resources>-    <!---        A home screen has to show the user's wallpaper, which is drawn by the system-        behind the activity window rather than by the app. That needs two things the-        shared Theme.General cannot have, since every other app wants an opaque window:-        windowShowWallpaper, which asks the system to draw it, and a transparent-        windowBackground, so the activity window does not cover it up.--        Inheriting from Theme.General keeps the rest of its behaviour (notably-        windowSoftInputMode=stateUnchanged). Note that the Compose side needs the-        matching change too - MainNavigation's Scaffold is passed-        containerColor = Color.Transparent, or it paints colorScheme.background over-        the wallpaper this theme just exposed.-    -->     <style name="Theme.Launcher" parent="Theme.General">         <item name="android:windowShowWallpaper">true</item>         <item name="android:windowBackground">@android:color/transparent</item>
library/downloadservice/src/main/AndroidManifest.xml
diff --git a/library/downloadservice/src/main/AndroidManifest.xml b/library/downloadservice/src/main/AndroidManifest.xmlindex 01004eb9f3..d1438ca9ae 100644--- a/library/downloadservice/src/main/AndroidManifest.xml+++ b/library/downloadservice/src/main/AndroidManifest.xml@@ -1,8 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android"> -    <!-- DownloadManager performs the transfer in the system process; the app-         only needs INTERNET to enqueue requests. -->     <uses-permission android:name="android.permission.INTERNET" />     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 
library/map/src/main/AndroidManifest.xml
diff --git a/library/map/src/main/AndroidManifest.xml b/library/map/src/main/AndroidManifest.xmlindex d4d0c709a9..d1438ca9ae 100644--- a/library/map/src/main/AndroidManifest.xml+++ b/library/map/src/main/AndroidManifest.xml@@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android"> -    <!-- Raster tiles are fetched over HTTPS via Coil. -->     <uses-permission android:name="android.permission.INTERNET" />     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 
library/network/src/main/res/xml/library_network_security_config.xml
diff --git a/library/network/src/main/res/xml/library_network_security_config.xml b/library/network/src/main/res/xml/library_network_security_config.xmlindex 9b821394c7..683208ffda 100644--- a/library/network/src/main/res/xml/library_network_security_config.xml+++ b/library/network/src/main/res/xml/library_network_security_config.xml@@ -1,7 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> <network-security-config>-    <!-- Base hardened config: no cleartext, system roots only, no user-installed CAs.-         Per-app configs override / add domain-config where needed (e.g. RCS cleartext, email user certs). -->     <base-config cleartextTrafficPermitted="false">         <trust-anchors>             <certificates src="system" />
library/src/main/res/values/themes.xml
diff --git a/library/src/main/res/values/themes.xml b/library/src/main/res/values/themes.xmlindex 7bbfbead42..068c721cf1 100644--- a/library/src/main/res/values/themes.xml+++ b/library/src/main/res/values/themes.xml@@ -2,8 +2,6 @@ <resources>      <style name="Theme.General" parent="android:Theme.Material.Light.NoActionBar">-        <!-- Preserve IME state across configuration changes (e.g. rotation) so a-             leading search field doesn't auto-focus and raise the keyboard. -->         <item name="android:windowSoftInputMode">stateUnchanged</item>     </style> </resources>\ No newline at end of file
maps/src/main/AndroidManifest.xml
diff --git a/maps/src/main/AndroidManifest.xml b/maps/src/main/AndroidManifest.xmlindex b9ad24cdfd..66564cbec8 100644--- a/maps/src/main/AndroidManifest.xml+++ b/maps/src/main/AndroidManifest.xml@@ -6,61 +6,30 @@      <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />     <uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />-    <!-- Navigation foreground service requires the LOCATION subtype on Android 14+. -->     <uses-permission android:name="android.permission.FOREGROUND_SERVICE_LOCATION" />-    <!-- Required on Android 13+ to show the navigation notification. -->     <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />      <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> -    <!-- Live family-location channel (P18): bind findfamily's exported bound-         service. Signature-level, so it is granted only because both MA apps-         share the signing key; on any other signer it is simply not granted and-         the family-pins feature is absent. -->     <uses-permission android:name="com.vayunmathur.findfamily.permissions.ACCESS_FAMILY" /> -    <!-- Order integration (P19): read fooddelivery's exported orderable-lookup-         provider. Signature-level, granted only because both MA apps share the-         signing key; on any other signer it is not granted and the Order button-         is simply absent. -->     <uses-permission android:name="com.vayunmathur.fooddelivery.permissions.ACCESS_ORDERS" /> -    <!-- Taxi integration (P20): read taxi's exported ride-estimate provider to show a-         fare/ETA inline on the route sheet. Signature-level, granted only because both-         MA apps share the signing key; on any other signer it is not granted and the-         estimate simply doesn't resolve (the taxi option falls back to launch-only). -->     <uses-permission android:name="com.vayunmathur.taxi.permissions.ACCESS_RIDES" /> -    <!-- Voice search (P8): records audio for the system SpeechRecognizer, which-         routes to the user-selected recognition service (the MA speech app when-         installed). -->     <uses-permission android:name="android.permission.RECORD_AUDIO" />-    <!-- Contact address shortcut (P17): NO READ_CONTACTS. The system Contact-         Picker returns a URI with a temporary per-URI read grant, so the picked-         address is read directly from that URI without any contacts permission. -->-    <!-- Android 11+ package visibility: needed so SpeechRecognizer can see and-         bind the installed on-device recognition service for voice search. -->     <queries>         <intent>             <action android:name="android.speech.RecognitionService" />         </intent>-        <!-- Resolve the system postal-address picker (ACTION_PICK over the-             Contacts provider) for the P17 contact address shortcut. -->         <intent>             <action android:name="android.intent.action.PICK" />             <data android:mimeType="vnd.android.cursor.dir/postal-address_v2" />         </intent>-        <!-- Android 11+ package visibility: resolve + bind findfamily's live-             family-location service (P18) by its action. -->         <intent>             <action android:name="com.vayunmathur.findfamily.action.FAMILY_LOCATIONS" />         </intent>-        <!-- Android 11+ package visibility: resolve fooddelivery's orderable-lookup-             provider (P19) and its fooddelivery://restaurant/<id> order deep link. -->         <package android:name="com.vayunmathur.fooddelivery" />-        <!-- Android 11+ package visibility: resolve taxi's ride-estimate provider (P20),-             detect whether the taxi app is installed, and launch its taxi://book deep-             link with the route's origin+destination pre-filled. -->         <package android:name="com.vayunmathur.taxi" />     </queries> @@ -86,9 +55,6 @@                 <category android:name="android.intent.category.LAUNCHER" />             </intent-filter> -            <!-- geo: links from other apps (assistant, contacts, browsers) → this-                 app can be the system maps handler. geo:lat,lng[?q=&z=],-                 geo:0,0?q=lat,lng(label), geo:0,0?q=<address>. -->             <intent-filter>                 <action android:name="android.intent.action.VIEW" />                 <category android:name="android.intent.category.DEFAULT" />@@ -96,8 +62,6 @@                 <data android:scheme="geo" />             </intent-filter> -            <!-- Turn-by-turn requests: google.navigation:q=<lat,lng|address>[&mode=d/w/b/l]-                 → start guidance to the destination. -->             <intent-filter>                 <action android:name="android.intent.action.VIEW" />                 <category android:name="android.intent.category.DEFAULT" />@@ -105,9 +69,6 @@                 <data android:scheme="google.navigation" />             </intent-filter> -            <!-- Google-Maps web links → "open in maps" offers this app too. Covers-                 place/search/@coord/?q= links and /dir/ directions, plus the short-                 maps.app.goo.gl / goo.gl/maps share links. -->             <intent-filter android:autoVerify="false">                 <action android:name="android.intent.action.VIEW" />                 <category android:name="android.intent.category.DEFAULT" />@@ -122,21 +83,11 @@             </intent-filter>         </activity> -        <!-- Live navigation foreground service. Owns the ongoing-             progress notification and keeps GPS streaming while the-             app is backgrounded or the screen is off. -->         <service             android:name=".util.NavigationService"             android:foregroundServiceType="location"             android:exported="false" /> -        <!-- Android Auto (P12): the Car App Library entry point. The host-             (Android Auto, projected) binds this CarAppService via the-             androidx.car.app.CarAppService action; the NAVIGATION category-             marks it as a turn-by-turn navigation app so it may draw to the-             car Surface and use the NavigationTemplate. The map/nav session-             reuses the existing routing + NavigationSessionManager + system-             TTS stack; the phone UI (MainActivity) is unaffected. -->         <service             android:name=".car.MapsCarAppService"             android:exported="true"@@ -147,12 +98,10 @@             </intent-filter>         </service> -        <!-- Minimum Car App API level this app targets (Car App Library). -->         <meta-data             android:name="androidx.car.app.minCarApiLevel"             android:value="1" /> -        <!-- Declares this app to the Android Auto host as a template app. -->         <meta-data             android:name="com.google.android.gms.car.application"             android:resource="@xml/automotive_app_desc" />
maps/src/main/res/xml/automotive_app_desc.xml
diff --git a/maps/src/main/res/xml/automotive_app_desc.xml b/maps/src/main/res/xml/automotive_app_desc.xmlindex 021eb9815e..0fb852c0fc 100644--- a/maps/src/main/res/xml/automotive_app_desc.xml+++ b/maps/src/main/res/xml/automotive_app_desc.xml@@ -1,8 +1,4 @@ <?xml version="1.0" encoding="utf-8"?>-<!-- Android Auto app descriptor (P12). Declares this app to the Android Auto-     host as a Car App Library "template" app so the projected host will surface-     our CarAppService. Referenced from AndroidManifest via the-     com.google.android.gms.car.application meta-data. --> <automotiveApp>     <uses name="template" /> </automotiveApp>
measure/src/main/AndroidManifest.xml
diff --git a/measure/src/main/AndroidManifest.xml b/measure/src/main/AndroidManifest.xmlindex bad6caef6a..0631a5acd9 100644--- a/measure/src/main/AndroidManifest.xml+++ b/measure/src/main/AndroidManifest.xml@@ -24,7 +24,6 @@                 <action android:name="android.intent.action.MAIN" />                 <category android:name="android.intent.category.LAUNCHER" />             </intent-filter>-            <!-- Surfaces an in-app settings entry on the system App Info page. -->             <intent-filter>                 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />                 <category android:name="android.intent.category.DEFAULT" />
music/src/main/AndroidManifest.xml
diff --git a/music/src/main/AndroidManifest.xml b/music/src/main/AndroidManifest.xmlindex cce9f223f2..fece410329 100644--- a/music/src/main/AndroidManifest.xml+++ b/music/src/main/AndroidManifest.xml@@ -21,7 +21,6 @@         android:supportsRtl="true"         android:theme="@style/Theme.General"> -        <!-- Android Auto (media) app descriptor: declares this as a media app for AA. -->         <meta-data             android:name="com.google.android.gms.car.application"             android:resource="@xml/automotive_app_desc" />@@ -38,9 +37,6 @@             </intent-filter>         </activity> -        <!-- MediaLibraryService: serves phone transport AND the Android Auto browse tree.-             The MediaBrowserService action lets Android Auto discover the browsable-             content hierarchy; the media3 actions serve MediaController/MediaBrowser. -->         <service             android:name=".service.PlaybackService"             android:foregroundServiceType="mediaPlayback"@@ -67,9 +63,6 @@             android:permission="com.vayunmathur.music.permissions.ACCESS_MUSIC">         </activity> -        <!-- Popup single-file player (mirrors AOSP Music's .AudioPreview): VIEW an audio-             file/content/http uri and play just that track in a translucent dialog over the-             launching app, without opening the full Music app. -->         <activity             android:name=".intents.AudioPreviewActivity"             android:exported="true"
musicbrainz/src/main/AndroidManifest.xml
diff --git a/musicbrainz/src/main/AndroidManifest.xml b/musicbrainz/src/main/AndroidManifest.xmlindex d101de39b4..214be43083 100644--- a/musicbrainz/src/main/AndroidManifest.xml+++ b/musicbrainz/src/main/AndroidManifest.xml@@ -24,7 +24,6 @@                  <category android:name="android.intent.category.LAUNCHER" />             </intent-filter>-            <!-- musicbrainz.org links open straight into the matching page. -->             <intent-filter android:autoVerify="true">                 <action android:name="android.intent.action.VIEW" /> 
networklocation/src/main/AndroidManifest.xml
diff --git a/networklocation/src/main/AndroidManifest.xml b/networklocation/src/main/AndroidManifest.xmlindex 91341ea5ff..db7f7231b0 100644--- a/networklocation/src/main/AndroidManifest.xml+++ b/networklocation/src/main/AndroidManifest.xml@@ -1,17 +1,14 @@ <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android"> -    <!-- Position estimation needs location + the radios it derives location from. -->     <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />     <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />     <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />     <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />     <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />     <uses-permission android:name="android.permission.READ_PHONE_STATE" />-    <!-- Reaching Apple's gs-loc proxy for beacon coordinates. -->     <uses-permission android:name="android.permission.INTERNET" />     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />-    <!-- Privileged: register as the platform network/geocode provider and attribute work. -->     <uses-permission android:name="android.permission.INSTALL_LOCATION_PROVIDER" />     <uses-permission android:name="android.permission.LOCATION_HARDWARE" />     <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />@@ -25,12 +22,8 @@         android:supportsRtl="true"         android:theme="@style/Theme.General"> -        <!-- The unbundled provider base classes (com.android.location.provider.*) are supplied by-             the platform at runtime, not packaged in this APK. -->         <uses-library android:name="com.android.location.provider" android:required="false" /> -        <!-- Network location provider. Bound by the framework via the v3 provider action; becomes-             THE network provider once config_networkLocationProviderPackageName points here. -->         <service             android:name=".NetworkLocationService"             android:exported="true">@@ -39,8 +32,6 @@             </intent-filter>         </service> -        <!-- Offline geocoder. Bound by the framework via the GeocodeProvider action; becomes THE-             system geocoder once config_geocoderProviderPackageName points here (MAOS overlay). -->         <service             android:name=".GeocodeService"             android:exported="true">@@ -49,7 +40,6 @@             </intent-filter>         </service> -        <!-- Status/info screen. -->         <activity             android:name=".MainActivity"             android:exported="true">
notes/src/main/AndroidManifest.xml
diff --git a/notes/src/main/AndroidManifest.xml b/notes/src/main/AndroidManifest.xmlindex 8c78d10f09..60341291d3 100644--- a/notes/src/main/AndroidManifest.xml+++ b/notes/src/main/AndroidManifest.xml@@ -24,7 +24,6 @@                 <category android:name="android.intent.category.LAUNCHER" />             </intent-filter> -            <!-- Open a Markdown file (e.g. tapping a shared .md) by its MIME type. -->             <intent-filter>                 <action android:name="android.intent.action.VIEW" />                 <action android:name="android.intent.action.EDIT" />@@ -34,7 +33,6 @@                 <data android:mimeType="text/x-markdown" />             </intent-filter> -            <!-- Receive a Markdown file shared from another app (ACTION_SEND). -->             <intent-filter>                 <action android:name="android.intent.action.SEND" />                 <category android:name="android.intent.category.DEFAULT" />@@ -42,9 +40,6 @@                 <data android:mimeType="text/x-markdown" />             </intent-filter> -            <!-- Fallback: match the .md/.markdown extension when the file is-                 delivered with a generic MIME type (common on older devices-                 that don't map .md to text/markdown). -->             <intent-filter>                 <action android:name="android.intent.action.VIEW" />                 <category android:name="android.intent.category.DEFAULT" />
office/src/main/AndroidManifest.xml
diff --git a/office/src/main/AndroidManifest.xml b/office/src/main/AndroidManifest.xmlindex 8af05a02b2..f6891581c7 100644--- a/office/src/main/AndroidManifest.xml+++ b/office/src/main/AndroidManifest.xml@@ -24,8 +24,6 @@                 <category android:name="android.intent.category.LAUNCHER" />             </intent-filter> -            <!-- Deep-link join request: office://join/<docId>?owner=<ownerDeviceId>. Carries-                 only non-secret directory ids; tapping sends a sealed join request to the owner. -->             <intent-filter>                 <action android:name="android.intent.action.VIEW" /> @@ -40,7 +38,6 @@                 <category android:name="android.intent.category.DEFAULT" />                 <category android:name="android.intent.category.BROWSABLE" /> -                <!-- OpenDocument Format (odt/ods/odp/odg + templates; flat-ODF & .xml open via the XML types below). -->                 <data android:mimeType="application/vnd.oasis.opendocument.text" />                 <data android:mimeType="application/vnd.oasis.opendocument.spreadsheet" />                 <data android:mimeType="application/vnd.oasis.opendocument.presentation" />@@ -50,19 +47,16 @@                 <data android:mimeType="application/vnd.oasis.opendocument.presentation-template" />                 <data android:mimeType="application/vnd.oasis.opendocument.graphics-template" /> -                <!-- Word (docx/docm/dotx/dotm) -->                 <data android:mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.document" />                 <data android:mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.template" />                 <data android:mimeType="application/vnd.ms-word.document.macroenabled.12" />                 <data android:mimeType="application/vnd.ms-word.template.macroenabled.12" /> -                <!-- Excel (xlsx/xlsm/xltx/xltm) -->                 <data android:mimeType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" />                 <data android:mimeType="application/vnd.openxmlformats-officedocument.spreadsheetml.template" />                 <data android:mimeType="application/vnd.ms-excel.sheet.macroenabled.12" />                 <data android:mimeType="application/vnd.ms-excel.template.macroenabled.12" /> -                <!-- PowerPoint (pptx/pptm/potx/potm/ppsx/ppsm) -->                 <data android:mimeType="application/vnd.openxmlformats-officedocument.presentationml.presentation" />                 <data android:mimeType="application/vnd.openxmlformats-officedocument.presentationml.template" />                 <data android:mimeType="application/vnd.openxmlformats-officedocument.presentationml.slideshow" />@@ -70,42 +64,32 @@                 <data android:mimeType="application/vnd.ms-powerpoint.template.macroenabled.12" />                 <data android:mimeType="application/vnd.ms-powerpoint.slideshow.macroenabled.12" /> -                <!-- CSV / TSV -->                 <data android:mimeType="text/csv" />                 <data android:mimeType="text/comma-separated-values" />                 <data android:mimeType="text/tab-separated-values" /> -                <!-- Markdown -->                 <data android:mimeType="text/markdown" />                 <data android:mimeType="text/x-markdown" /> -                <!-- HTML -->                 <data android:mimeType="text/html" />                 <data android:mimeType="application/xhtml+xml" /> -                <!-- Rich Text -->                 <data android:mimeType="application/rtf" />                 <data android:mimeType="text/rtf" /> -                <!-- Flat-ODF (fodt/fods/fodp/fodg) and .xml -->                 <data android:mimeType="application/xml" />                 <data android:mimeType="text/xml" /> -                <!-- Plain text (txt/text/log) -->                 <data android:mimeType="text/plain" />                  <data android:scheme="content" />                 <data android:scheme="file" />             </intent-filter> -            <!-- Receive documents shared from other apps (e.g. an encrypted file from-                 Image-Toolbox). SEND carries the payload in EXTRA_STREAM and matches on-                 type only, so no scheme/data entries here. -->             <intent-filter>                 <action android:name="android.intent.action.SEND" />                 <category android:name="android.intent.category.DEFAULT" /> -                <!-- OpenDocument Format (odt/ods/odp/odg + templates). -->                 <data android:mimeType="application/vnd.oasis.opendocument.text" />                 <data android:mimeType="application/vnd.oasis.opendocument.spreadsheet" />                 <data android:mimeType="application/vnd.oasis.opendocument.presentation" />@@ -115,19 +99,16 @@                 <data android:mimeType="application/vnd.oasis.opendocument.presentation-template" />                 <data android:mimeType="application/vnd.oasis.opendocument.graphics-template" /> -                <!-- Word (docx/docm/dotx/dotm) -->                 <data android:mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.document" />                 <data android:mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.template" />                 <data android:mimeType="application/vnd.ms-word.document.macroenabled.12" />                 <data android:mimeType="application/vnd.ms-word.template.macroenabled.12" /> -                <!-- Excel (xlsx/xlsm/xltx/xltm) -->                 <data android:mimeType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" />                 <data android:mimeType="application/vnd.openxmlformats-officedocument.spreadsheetml.template" />                 <data android:mimeType="application/vnd.ms-excel.sheet.macroenabled.12" />                 <data android:mimeType="application/vnd.ms-excel.template.macroenabled.12" /> -                <!-- PowerPoint (pptx/pptm/potx/potm/ppsx/ppsm) -->                 <data android:mimeType="application/vnd.openxmlformats-officedocument.presentationml.presentation" />                 <data android:mimeType="application/vnd.openxmlformats-officedocument.presentationml.template" />                 <data android:mimeType="application/vnd.openxmlformats-officedocument.presentationml.slideshow" />@@ -135,28 +116,22 @@                 <data android:mimeType="application/vnd.ms-powerpoint.template.macroenabled.12" />                 <data android:mimeType="application/vnd.ms-powerpoint.slideshow.macroenabled.12" /> -                <!-- CSV / TSV -->                 <data android:mimeType="text/csv" />                 <data android:mimeType="text/comma-separated-values" />                 <data android:mimeType="text/tab-separated-values" /> -                <!-- Markdown -->                 <data android:mimeType="text/markdown" />                 <data android:mimeType="text/x-markdown" /> -                <!-- HTML -->                 <data android:mimeType="text/html" />                 <data android:mimeType="application/xhtml+xml" /> -                <!-- Rich Text -->                 <data android:mimeType="application/rtf" />                 <data android:mimeType="text/rtf" /> -                <!-- Flat-ODF (fodt/fods/fodp/fodg) and .xml -->                 <data android:mimeType="application/xml" />                 <data android:mimeType="text/xml" /> -                <!-- Plain text (txt/text/log) -->                 <data android:mimeType="text/plain" />             </intent-filter>         </activity>
passwords/src/main/AndroidManifest.xml
diff --git a/passwords/src/main/AndroidManifest.xml b/passwords/src/main/AndroidManifest.xmlindex 7a5161cb57..6d02a11633 100644--- a/passwords/src/main/AndroidManifest.xml+++ b/passwords/src/main/AndroidManifest.xml@@ -32,7 +32,6 @@                  <category android:name="android.intent.category.LAUNCHER" />             </intent-filter>-            <!-- Surfaces an in-app settings entry on the system App Info page. -->             <intent-filter>                 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />                 <category android:name="android.intent.category.DEFAULT" />
pdf/src/main/AndroidManifest.xml
diff --git a/pdf/src/main/AndroidManifest.xml b/pdf/src/main/AndroidManifest.xmlindex b73bda491f..b931b89089 100644--- a/pdf/src/main/AndroidManifest.xml+++ b/pdf/src/main/AndroidManifest.xml@@ -2,7 +2,6 @@ <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">      <uses-permission android:name="android.permission.CAMERA" />-    <!-- CameraX video pulls in androidx.media3, which merges ACCESS_NETWORK_STATE; pdf does no networking, so strip it. -->     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" tools:node="remove" />     <uses-feature android:name="android.hardware.camera" android:required="false" /> @@ -25,7 +24,6 @@                 <category android:name="android.intent.category.LAUNCHER" />             </intent-filter> -            <!-- Add this intent-filter -->             <intent-filter>                 <action android:name="android.intent.action.VIEW" />                 <category android:name="android.intent.category.DEFAULT" />
photos/src/main/AndroidManifest.xml
diff --git a/photos/src/main/AndroidManifest.xml b/photos/src/main/AndroidManifest.xmlindex 2e8cf1f9b7..429f9fa0ec 100644--- a/photos/src/main/AndroidManifest.xml+++ b/photos/src/main/AndroidManifest.xml@@ -12,7 +12,6 @@     <uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />     <uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />     <uses-permission android:name="android.permission.ACCESS_MEDIA_LOCATION" />-    <!-- For managing media files without popup on Android 12+ -->     <uses-permission android:name="android.permission.MANAGE_MEDIA" />      <uses-permission android:name="android.permission.SET_WALLPAPER" />@@ -23,8 +22,6 @@     <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />     <uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" /> -    <!-- Semantic search delegates embedding to the OpenAssistant app's exported,-         signature-permission-gated InferenceService. -->     <uses-permission android:name="com.vayunmathur.openassistant.permission.ACCESS_INFERENCE" />      <queries>@@ -77,7 +74,6 @@                 <data android:mimeType="video/*" />             </intent-filter>         </activity>-        <!-- Glance widget receiver -->         <receiver             android:name=".glance.PhotoGlanceWidgetReceiver"             android:exported="false">
photos/src/main/res/drawable/widget_preview_photo.xml
diff --git a/photos/src/main/res/drawable/widget_preview_photo.xml b/photos/src/main/res/drawable/widget_preview_photo.xmlindex 2c2282af5f..1345558657 100644--- a/photos/src/main/res/drawable/widget_preview_photo.xml+++ b/photos/src/main/res/drawable/widget_preview_photo.xml@@ -1,5 +1,4 @@ <?xml version="1.0" encoding="utf-8"?>-<!-- Placeholder "photo" shown in widget picker preview. Uses static colors safe for API 37 preview host. --> <shape xmlns:android="http://schemas.android.com/apk/res/android"     android:shape="rectangle">     <gradient
sdk/cast/src/main/AndroidManifest.xml
diff --git a/sdk/cast/src/main/AndroidManifest.xml b/sdk/cast/src/main/AndroidManifest.xmlindex 164948c6f4..756a9530ed 100644--- a/sdk/cast/src/main/AndroidManifest.xml+++ b/sdk/cast/src/main/AndroidManifest.xml@@ -1,11 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android"> -    <!-- CastContract.PERMISSION is declared by each consuming app, not here. :library depends on-         :sdk:games and every app depends on :library, so a uses-permission in an SDK manifest ends-         up requested by all ~50 apps in the repo. A <queries> entry is different: it only makes the-         Cast package visible to a resolve, which is exactly what CastClient.support() needs. -->-     <queries>         <package android:name="com.vayunmathur.cast" />     </queries>
sdk/games/src/main/AndroidManifest.xml
diff --git a/sdk/games/src/main/AndroidManifest.xml b/sdk/games/src/main/AndroidManifest.xmlindex c4bad0f7de..8b10400f38 100644--- a/sdk/games/src/main/AndroidManifest.xml+++ b/sdk/games/src/main/AndroidManifest.xml@@ -1,10 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android"> -    <!-- The hub's signature permissions are declared by each consuming game, not here.-         :library depends on :sdk:games and every app depends on :library, so declaring-         them in this manifest would make all ~50 apps in the repo request them. -->-     <queries>         <package android:name="com.vayunmathur.games.hub" />         <package android:name="com.vayunmathur.games" />
share/src/main/AndroidManifest.xml
diff --git a/share/src/main/AndroidManifest.xml b/share/src/main/AndroidManifest.xmlindex d4af9c12d7..33052fc548 100644--- a/share/src/main/AndroidManifest.xml+++ b/share/src/main/AndroidManifest.xml@@ -1,48 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android"> -    <!-- Google Nearby Share / Quick Share interop without Play Services -->-    <uses-permission android:name="android.permission.INTERNET" />-    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />-    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />-    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />-    <!-- Local Network Protections (Android 16+): without this, NsdManager.registerService-         throws SecurityException("Missing local network permission") and every LAN socket is-         blocked. WIFI_LAN is the only medium :share can accept a transfer on, so discovery-         and transfer both depend on it. -->-    <uses-permission android:name="android.permission.ACCESS_LOCAL_NETWORK" />--    <!-- BLE discovery (Nearby Connections uses BLE for advertisement + scan).-         No BLUETOOTH_CONNECT: the peer's name comes from the endpoint-info blob inside the-         advertisement, falling back to ScanRecord.getDeviceName(), and both are parsed from-         bytes we already have. BluetoothDevice.getName() is the only API here that would need-         CONNECT, and it reports the same advertised local name.-         No location permission either: minSdk is 31, so neverForLocation on BLUETOOTH_SCAN is-         the whole story — the pre-Android-12 classic-scan fallback that used to require-         ACCESS_FINE_LOCATION cannot be reached. -->-    <uses-permission android:name="android.permission.BLUETOOTH_ADVERTISE" />-    <uses-permission android:name="android.permission.BLUETOOTH_SCAN" android:usesPermissionFlags="neverForLocation" />--    <!-- Stay discoverable/receivable in background. NOT dataSync: Android 15 caps-         dataSync foreground services at 6 cumulative hours per 24h and then calls-         onTimeout() and stops the service, which for an always-on receiver means it-         silently stops being receivable part-way through the day (see :vpn's manifest for-         the same reasoning). connectedDevice is semantically accurate — BLE advertising-         plus a local peer link — is not capped, and is not on Android 13/14's list of-         types a BOOT_COMPLETED receiver may not start. -->-    <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />-    <uses-permission android:name="android.permission.FOREGROUND_SERVICE_CONNECTED_DEVICE" />-    <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />-    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />--    <!-- Nearby Share over Wi-Fi Direct / Hotspot uses nearby-devices on Android 13+ -->-    <uses-permission android:name="android.permission.NEARBY_WIFI_DEVICES" android:usesPermissionFlags="neverForLocation" />--    <!-- Deliberately NO storage or media permissions. Files to send are picked with-         ACTION_OPEN_DOCUMENT and files are saved with ACTION_CREATE_DOCUMENT, both of which-         grant access to exactly the URI the user chose. Received files are staged in-         app-private storage and handed out through the FileProvider below. -->-     <uses-feature android:name="android.hardware.bluetooth" android:required="false" />     <uses-feature android:name="android.hardware.bluetooth_le" android:required="false" />     <uses-feature android:name="android.hardware.wifi" android:required="false" />@@ -65,18 +23,12 @@                 <action android:name="android.intent.action.MAIN" />                 <category android:name="android.intent.category.LAUNCHER" />             </intent-filter>-            <!-- Long-press on the Quick Settings tile. The tile's-                 android.service.quicksettings.ACTIVITY meta-data names this activity, but the-                 system only honours it if the target also declares this action. -->             <intent-filter>                 <action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" />                 <category android:name="android.intent.category.DEFAULT" />             </intent-filter>         </activity> -        <!-- The system share sheet's target. A bottom sheet over the sharing app rather than the-             whole app: the files are already chosen, so only the device is left to pick.-             configChanges matches MainActivity's so a rotation does not restart discovery. -->         <activity             android:name=".SharePopupActivity"             android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"@@ -94,24 +46,17 @@             </intent-filter>         </activity> -        <!-- Transparent trampoline for the Save action's SAF directory picker: an-             ActivityResultLauncher needs an Activity and there is no receive screen left.-             Deliberately NOT noHistory: that finishes the activity as soon as it stops being-             visible, which is exactly what launching the picker does, so the result callback-             would be dropped. excludeFromRecents gives the invisibility without the hazard. -->         <activity             android:name=".platform.receive.ShareSaveActivity"             android:excludeFromRecents="true"             android:exported="false"             android:theme="@android:style/Theme.Translucent.NoTitleBar" /> -        <!-- Keep receiving / transferring while backgrounded. -->         <service             android:name=".platform.transfer.ShareTransferService"             android:exported="false"             android:foregroundServiceType="connectedDevice" /> -        <!-- The only on/off control for receiving. -->         <service             android:name=".platform.receive.ShareReceiveTileService"             android:exported="true"@@ -126,7 +71,6 @@                 android:value=".MainActivity" />         </service> -        <!-- Accept / Reject / Cancel from a notification. Explicit component only. -->         <receiver             android:name=".platform.receive.ShareNotificationReceiver"             android:exported="false" />@@ -139,7 +83,6 @@                 <action android:name="android.intent.action.MY_PACKAGE_REPLACED" />             </intent-filter>         </receiver>-        <!-- Grants read access to a received file when the user taps Share. -->         <provider             android:name="androidx.core.content.FileProvider"             android:authorities="${applicationId}.fileprovider"
share/src/main/res/drawable/ic_tile_share.xml
diff --git a/share/src/main/res/drawable/ic_tile_share.xml b/share/src/main/res/drawable/ic_tile_share.xmlindex 49c6544db4..11e16f5138 100644--- a/share/src/main/res/drawable/ic_tile_share.xml+++ b/share/src/main/res/drawable/ic_tile_share.xml@@ -4,8 +4,6 @@     android:viewportWidth="24"     android:viewportHeight="24"     android:tint="?android:attr/colorControlNormal">-    <!-- Three linked nodes; monochrome so the Quick Settings tile can tint it by state and-         the notifications can use the same asset as their small icon. -->     <path         android:fillColor="#FFFFFFFF"         android:pathData="M18,16.08c-0.76,0 -1.44,0.3 -1.96,0.77L8.91,12.7C8.96,12.47 9,12.24 9,12s-0.04,-0.47 -0.09,-0.7l7.05,-4.11c0.54,0.5 1.25,0.81 2.04,0.81 1.66,0 3,-1.34 3,-3s-1.34,-3 -3,-3 -3,1.34 -3,3c0,0.24 0.04,0.47 0.09,0.7L8.04,9.81C7.5,9.31 6.79,9 6,9c-1.66,0 -3,1.34 -3,3s1.34,3 3,3c0.79,0 1.5,-0.31 2.04,-0.81l7.12,4.16c-0.05,0.21 -0.08,0.43 -0.08,0.65 0,1.61 1.31,2.92 2.92,2.92s2.92,-1.31 2.92,-2.92 -1.31,-2.92 -2.92,-2.92z" />
share/src/main/res/values/themes.xml
diff --git a/share/src/main/res/values/themes.xml b/share/src/main/res/values/themes.xmlindex 37aeed577d..b16a2c043e 100644--- a/share/src/main/res/values/themes.xml+++ b/share/src/main/res/values/themes.xml@@ -1,16 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> <resources>-    <!---        The share-sheet target is a bottom sheet, not a screen: the activity window itself must-        be invisible so the Compose sheet's own scrim is the only thing drawn over whatever the-        user was already looking at. Inheriting Theme.General keeps the rest of its behaviour-        (notably windowSoftInputMode=stateUnchanged); the two overrides are the same pair-        Theme.Launcher needs to expose the wallpaper.--        windowIsTranslucent is what stops the system from freezing the activity behind this one,-        so the app under the sheet keeps drawing. No backgroundDimEnabled: that only applies to-        floating windows, and the sheet dims for itself.-    -->     <style name="Theme.SharePopup" parent="Theme.General">         <item name="android:windowBackground">@android:color/transparent</item>         <item name="android:windowIsTranslucent">true</item>
speech/src/main/AndroidManifest.xml
diff --git a/speech/src/main/AndroidManifest.xml b/speech/src/main/AndroidManifest.xmlindex 6208f41eb5..9631494c52 100644--- a/speech/src/main/AndroidManifest.xml+++ b/speech/src/main/AndroidManifest.xml@@ -2,11 +2,6 @@ <manifest xmlns:android="http://schemas.android.com/apk/res/android">      <uses-permission android:name="android.permission.RECORD_AUDIO" />-    <!-- As a system RecognitionService we run the framework's caller permission check in-         OUR process: it verifies the CALLING app's RECORD_AUDIO via AppOps. On Android 11+-         package visibility hides other apps, so that lookup fails ("caller without-         permission RECORD_AUDIO") even when the caller holds it. A recognizer serves-         arbitrary apps, so we need to see all of them. -->     <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />      <application@@ -28,9 +23,6 @@             </intent-filter>         </activity> -        <!-- System speech recognition service. Once selected as the device's voice-input-             / on-device recognition service, any app using android.speech.SpeechRecognizer-             (e.g. Translate) gets fully offline transcription through this. -->         <service             android:name=".service.WhisperRecognitionService"             android:label="@string/recognition_service_label"@@ -44,9 +36,6 @@                 android:resource="@xml/recognition_service" />         </service> -        <!-- System text-to-speech engine (offline Piper/VITS via sherpa-onnx). Once selected-             as the device's TTS engine, any app using android.speech.tts.TextToSpeech speaks-             fully on-device. -->         <service             android:name=".service.PiperTtsService"             android:label="@string/tts_engine_label"@@ -60,7 +49,6 @@                 android:resource="@xml/tts_engine" />         </service> -        <!-- Framework probe run by the TTS settings to discover installed voices. -->         <activity             android:name=".tts.CheckVoiceDataActivity"             android:exported="true"
taxi/src/main/AndroidManifest.xml
diff --git a/taxi/src/main/AndroidManifest.xml b/taxi/src/main/AndroidManifest.xmlindex 6feecca3d8..c8a95a8107 100644--- a/taxi/src/main/AndroidManifest.xml+++ b/taxi/src/main/AndroidManifest.xml@@ -8,18 +8,11 @@     <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />     <uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" /> -    <!-- Package visibility: without these the deep-link handoff cannot resolve-         the official apps and silently falls back to the browser. -->     <queries>         <package android:name="com.ubercab" />         <package android:name="me.lyft.android" />     </queries> -    <!-- Cross-app ride-estimate guard (P20): the exported RideEstimateProvider is-         readable only by apps signed with the same key (the maps app), which is why-         this is signature-level. On any other signer it is not granted and the-         provider is simply unreadable (the maps taxi option then falls back to-         launch-only or is absent). -->     <permission         android:name="com.vayunmathur.taxi.permissions.ACCESS_RIDES"         android:protectionLevel="signature" />@@ -43,10 +36,6 @@                 <action android:name="android.intent.action.MAIN" />                 <category android:name="android.intent.category.LAUNCHER" />             </intent-filter>-            <!-- Cross-app booking deep link (P20): taxi://book?pickup_lat=&pickup_lng=-                 &dest_lat=&dest_lng=(&labels…) opens the ride screen with the trip-                 pre-filled. Fired by the maps route-sheet "Book ride" button (see-                 RideHandoffContract.bookingDeepLink). -->             <intent-filter>                 <action android:name="android.intent.action.VIEW" />                 <category android:name="android.intent.category.DEFAULT" />@@ -55,9 +44,6 @@             </intent-filter>         </activity> -        <!-- Cross-app ride estimate (P20): reuses the app's quote pipeline to return-             { available, fareEstimate, etaMinutes } for an origin→destination.-             Exported but signature-guarded so only co-signed apps (maps) can read. -->         <provider             android:name=".ipc.RideEstimateProvider"             android:authorities="com.vayunmathur.taxi.ridelookup"
translate/src/main/AndroidManifest.xml
diff --git a/translate/src/main/AndroidManifest.xml b/translate/src/main/AndroidManifest.xmlindex 584a58488b..13c97b2eb6 100644--- a/translate/src/main/AndroidManifest.xml+++ b/translate/src/main/AndroidManifest.xml@@ -6,8 +6,6 @@      <uses-feature android:name="android.hardware.camera.any" android:required="false" /> -    <!-- Android 11+ package visibility: without this, SpeechRecognizer can't see an-         installed recognition service and isRecognitionAvailable() returns false. -->     <queries>         <intent>             <action android:name="android.speech.RecognitionService" />@@ -31,7 +29,6 @@                 <action android:name="android.intent.action.MAIN" />                 <category android:name="android.intent.category.LAUNCHER" />             </intent-filter>-            <!-- "Translate" appears in the text-selection context menu of other apps. -->             <intent-filter>                 <action android:name="android.intent.action.PROCESS_TEXT" />                 <category android:name="android.intent.category.DEFAULT" />
travel/src/main/AndroidManifest.xml
diff --git a/travel/src/main/AndroidManifest.xml b/travel/src/main/AndroidManifest.xmlindex daa3ad2635..dc9da2451c 100644--- a/travel/src/main/AndroidManifest.xml+++ b/travel/src/main/AndroidManifest.xml@@ -20,7 +20,6 @@                 <action android:name="android.intent.action.MAIN" />                 <category android:name="android.intent.category.LAUNCHER" />             </intent-filter>-            <!-- Surfaces an in-app settings entry on the system App Info page. -->             <intent-filter>                 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />                 <category android:name="android.intent.category.DEFAULT" />
vpn/src/main/AndroidManifest.xml
diff --git a/vpn/src/main/AndroidManifest.xml b/vpn/src/main/AndroidManifest.xmlindex b36054394c..e4b4ac81af 100644--- a/vpn/src/main/AndroidManifest.xml+++ b/vpn/src/main/AndroidManifest.xml@@ -5,16 +5,8 @@     <uses-permission android:name="android.permission.INTERNET" />     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />     <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />-    <!-- NOT dataSync: Android 15 caps dataSync/mediaProcessing foreground services at 6-         cumulative hours per 24h, then calls onTimeout() and stops the service — which for-         a VPN means the tunnel silently drops mid-day. A VpnService is one of the categories-         Android explicitly exempts, so systemExempted is both the correct and the durable-         type here. -->     <uses-permission android:name="android.permission.FOREGROUND_SERVICE_SYSTEM_EXEMPTED" />     <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />-    <!-- Naming the app behind a flow means resolving arbitrary UIDs, including apps with no-         launcher entry, so the narrower <queries> forms aren't enough. Without this,-         getPackagesForUid() is filtered to nothing and the log can only show a bare UID. -->     <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />      <application@@ -36,7 +28,6 @@                 <action android:name="android.intent.action.MAIN" />                 <category android:name="android.intent.category.LAUNCHER" />             </intent-filter>-            <!-- Surfaces an in-app settings entry on the system App Info page. -->             <intent-filter>                 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />                 <category android:name="android.intent.category.DEFAULT" />@@ -48,8 +39,6 @@             android:permission="android.permission.BIND_VPN_SERVICE"             android:exported="true"             android:foregroundServiceType="systemExempted">-            <!-- Settings queries for this action to discover VPN apps; without it the-                 always-on toggle is greyed out as "not supported by this app". -->             <intent-filter>                 <action android:name="android.net.VpnService" />             </intent-filter>
vpn/src/main/res/xml/network_security_config.xml
diff --git a/vpn/src/main/res/xml/network_security_config.xml b/vpn/src/main/res/xml/network_security_config.xmlindex fa5a648cd7..683208ffda 100644--- a/vpn/src/main/res/xml/network_security_config.xml+++ b/vpn/src/main/res/xml/network_security_config.xml@@ -1,7 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> <network-security-config>-    <!-- VPN user-supplied endpoint: dynamic host, must use system trust.-         Debug flavor could allow user certs for self-hosted test, but base is system-only. -->     <base-config cleartextTrafficPermitted="false">         <trust-anchors>             <certificates src="system" />
weather/src/main/AndroidManifest.xml
diff --git a/weather/src/main/AndroidManifest.xml b/weather/src/main/AndroidManifest.xmlindex 14a42b745d..39197045ea 100644--- a/weather/src/main/AndroidManifest.xml+++ b/weather/src/main/AndroidManifest.xml@@ -48,7 +48,6 @@             android:exported="true"             android:theme="@android:style/Theme.NoDisplay" /> -        <!-- Glance widget receiver -->         <receiver             android:name=".widget.glance.WeatherGlanceWidgetReceiver"             android:exported="false">@@ -59,7 +58,6 @@                 android:name="android.appwidget.provider"                 android:resource="@xml/weather_glance_widget_info" />         </receiver>-        <!-- Blob widget — organic dark shape with large temp, matches homescreen reference -->         <receiver             android:name=".widget.glance.WeatherBlobGlanceWidgetReceiver"             android:exported="false">
weather/src/main/res/drawable/weather_wind_arrow_dominant.xml
diff --git a/weather/src/main/res/drawable/weather_wind_arrow_dominant.xml b/weather/src/main/res/drawable/weather_wind_arrow_dominant.xmlindex 0bee9bc1f0..9ee514c66e 100644--- a/weather/src/main/res/drawable/weather_wind_arrow_dominant.xml+++ b/weather/src/main/res/drawable/weather_wind_arrow_dominant.xml@@ -1,18 +1,3 @@-<!---  ~ Copyright (C) 2026 The Android Open Source Project-  ~-  ~ Licensed under the Apache License, Version 2.0 (the "License");-  ~ you may not use this file except in compliance with the License.-  ~ You may obtain a copy of the License at-  ~-  ~      http://www.apache.org/licenses/LICENSE-2.0-  ~-  ~ Unless required by applicable law or agreed to in writing, software-  ~ distributed under the License is distributed on an "AS IS" BASIS,-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.-  ~ See the License for the specific language governing permissions and-  ~ limitations under the License.-  --> <vector xmlns:android="http://schemas.android.com/apk/res/android"     android:width="176dp"     android:height="176dp"
weather/src/main/res/values-night/colors.xml
diff --git a/weather/src/main/res/values-night/colors.xml b/weather/src/main/res/values-night/colors.xmlindex 45319e247e..1148a32465 100644--- a/weather/src/main/res/values-night/colors.xml+++ b/weather/src/main/res/values-night/colors.xml@@ -1,12 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> <resources>-    <!---        Dark counterpart of the launch window background. DynamicTheme follows the system-        dark setting (isSystemInDarkTheme), which is the same signal that selects -night,-        so the two stay in step.--        surfaceContainerHigh is neutral tone 17 in dark; tone 20 is the closest fixed step-        the dynamic palette exposes.-    -->     <color name="window_background">@android:color/system_neutral1_800</color> </resources>
weather/src/main/res/values/colors.xml
diff --git a/weather/src/main/res/values/colors.xml b/weather/src/main/res/values/colors.xmlindex c369b8a04f..b4a3b0bead 100644--- a/weather/src/main/res/values/colors.xml+++ b/weather/src/main/res/values/colors.xml@@ -1,13 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> <resources>-    <!---        Window background for the launcher activity. This is what the system's starting-        window paints before Compose produces its first frame, so it has to match what-        HomePage draws first — its holding Scaffold, which uses surfaceContainerHigh.--        Material3's dynamic surfaceContainerHigh is neutral tone 92 (light). The Android 12-        dynamic palette only exposes fixed tone steps, so tone 90 is the closest available;-        the residual difference is a couple of tone steps rather than a white flash.-    -->     <color name="window_background">@android:color/system_neutral1_100</color> </resources>
weather/src/main/res/values/themes.xml
diff --git a/weather/src/main/res/values/themes.xml b/weather/src/main/res/values/themes.xmlindex d730418170..d6814ec379 100644--- a/weather/src/main/res/values/themes.xml+++ b/weather/src/main/res/values/themes.xml@@ -1,14 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> <resources>-    <!---        Theme.General inherits android:Theme.Material.Light.NoActionBar, whose-        windowBackground is white in both light and dark mode. That white is what the-        system paints for the starting window and for the activity window until Compose-        draws, which is the flash on cold start.--        Overriding only windowBackground keeps every other Theme.General behaviour-        (notably windowSoftInputMode=stateUnchanged).-    -->     <style name="Theme.Weather" parent="Theme.General">         <item name="android:windowBackground">@color/window_background</item>     </style>
web/src/main/AndroidManifest.xml
diff --git a/web/src/main/AndroidManifest.xml b/web/src/main/AndroidManifest.xmlindex d78f5d8028..ab505028d6 100644--- a/web/src/main/AndroidManifest.xml+++ b/web/src/main/AndroidManifest.xml@@ -4,8 +4,6 @@      <uses-permission android:name="android.permission.INTERNET" />     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />-    <!-- Without this the OS blocks every socket to a private-range address, so LAN sites-         (routers, NAS, dev servers) fail to load with a generic network error. -->     <uses-permission android:name="android.permission.ACCESS_LOCAL_NETWORK" />     <uses-permission android:name="android.permission.CAMERA" />     <uses-permission android:name="android.permission.RECORD_AUDIO" />@@ -39,7 +37,6 @@                 <action android:name="android.intent.action.MAIN" />                 <category android:name="android.intent.category.LAUNCHER" />             </intent-filter>-            <!-- Surfaces an in-app settings entry on the system App Info page. -->             <intent-filter>                 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />                 <category android:name="android.intent.category.DEFAULT" />@@ -59,8 +56,6 @@             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">-            <!-- 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>
web/src/main/res/values-night/themes.xml
diff --git a/web/src/main/res/values-night/themes.xml b/web/src/main/res/values-night/themes.xmlindex aea54b964a..353eaf41a1 100644--- a/web/src/main/res/values-night/themes.xml+++ b/web/src/main/res/values-night/themes.xml@@ -1,11 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <resources> -    <!-- Night counterpart of values/themes.xml. The parent has to change to the dark Material-         theme (rather than inherit Theme.General) so android:isLightTheme resolves to false,-         which is what WebView reads to decide the `prefers-color-scheme` it reports to pages.-         Theme.General's windowSoftInputMode is repeated here because the parent differs and so-         it can't be inherited. -->     <style name="Theme.Web" parent="android:Theme.Material.NoActionBar">         <item name="android:windowSoftInputMode">stateUnchanged</item>         <item name="android:isLightTheme">false</item>
web/src/main/res/values/themes.xml
diff --git a/web/src/main/res/values/themes.xml b/web/src/main/res/values/themes.xmlindex ea377dd174..3d958773b9 100644--- a/web/src/main/res/values/themes.xml+++ b/web/src/main/res/values/themes.xml@@ -1,12 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <resources> -    <!-- WebView derives the `prefers-color-scheme` it reports to pages from the hosting-         activity theme's android:isLightTheme. The shared Theme.General is hard-wired to-         android:Theme.Material.Light.NoActionBar, so pages always saw "light" no matter the-         system setting. Theme.Web adds a values-night variant so the flag tracks the system-         light/dark mode; see values-night/themes.xml. Scoped to :web rather than changing-         Theme.General, which every app in the repo shares. -->     <style name="Theme.Web" parent="Theme.General">         <item name="android:isLightTheme">true</item>     </style>
web/src/main/res/xml/network_security_config.xml
diff --git a/web/src/main/res/xml/network_security_config.xml b/web/src/main/res/xml/network_security_config.xmlindex b121852dda..8a76775f86 100644--- a/web/src/main/res/xml/network_security_config.xml+++ b/web/src/main/res/xml/network_security_config.xml@@ -1,11 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> <network-security-config>-    <!-- Web is a browser: must trust any cert host + user-installed CAs (MITM debug, corp proxies).-         Cleartext is permitted at the platform level because LAN sites (routers, NAS boxes, dev-         servers) are almost all plain http, and this file can only match exact hostnames - there-         is no CIDR syntax, so "cleartext on the LAN only" is not expressible here for a browser-         that navigates wherever the user types. That rule is enforced in the app layer instead,-         by ShieldsRequestFilter via LanPolicy. -->     <base-config cleartextTrafficPermitted="true">         <trust-anchors>             <certificates src="system" />
youpipe/src/main/AndroidManifest.xml
diff --git a/youpipe/src/main/AndroidManifest.xml b/youpipe/src/main/AndroidManifest.xmlindex 1507a5d47e..5f68d82d37 100644--- a/youpipe/src/main/AndroidManifest.xml+++ b/youpipe/src/main/AndroidManifest.xml@@ -9,9 +9,6 @@     <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />     <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> -    <!-- Casting is brokered through the installed Cast app, so nothing about the network is needed-         here: MA Cast owns the sockets, the pairing and the encoders. Only this signature permission,-         and visibility of the package so the capability probe can resolve it. -->     <uses-permission android:name="com.vayunmathur.cast.permission.STREAM_CONTENT" />      <queries>@@ -34,7 +31,6 @@             android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"             android:theme="@style/Theme.General">             <intent-filter android:autoVerify="true">-                <!-- open youtube.com -->                 <action android:name="android.intent.action.VIEW" />                  <category android:name="android.intent.category.DEFAULT" />@@ -46,12 +42,10 @@                 <data android:host="m.youtube.com" />                 <data android:host="youtu.be" />             </intent-filter>-            <!-- Surfaces an in-app settings entry on the system App Info page. -->             <intent-filter>                 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />                 <category android:name="android.intent.category.DEFAULT" />             </intent-filter>-            <!-- Share sheet: a shared YouTube URL opens straight into the video. -->             <intent-filter>                 <action android:name="android.intent.action.SEND" />                 <category android:name="android.intent.category.DEFAULT" />@@ -64,7 +58,6 @@             </intent-filter>         </activity> -        <!-- Share-sheet action: add the shared video straight to Watch later. -->         <activity-alias             android:name=".ShareWatchLater"             android:targetActivity=".MainActivity"@@ -78,7 +71,6 @@             </intent-filter>         </activity-alias> -        <!-- Share-sheet action: pick a playlist (excluding Watch later) for the shared video. -->         <activity-alias             android:name=".SharePlaylist"             android:targetActivity=".MainActivity"