Modern Apps git

MAOS.git

Public
git clone https://git.maproj.org/MAOS.git
main ▾

MAOS.git / patches / sensor_optout_packages_modules_CellBroadcastService.patch

sensor_optout_packages_modules_CellBroadcastService.patch13 lines · 755 BRaw
1diff --git a/AndroidManifest.xml b/AndroidManifest.xml
2index a208135..5186134 100644
3--- a/AndroidManifest.xml
4+++ b/AndroidManifest.xml
5@@ -53,6 +53,8 @@ pixel-onboarding-eng@ and aob-platform-Op@. Please refer b/317302212 for details
6 <!-- Need to set usesCleartextTraffic="true" as every APK in the process
7 must set it to avoid races. The flag is necessary for the NetworkStack
8 module. See b/161860610. -->
9+ <!-- MAOS: opt out of the GrapheneOS Sensors permission (never requested nor granted). -->
10+ <uses-permission android:name="com.vayunmathur.permission.SENSORS_OPTOUT" />
11 <application android:label="Cell Broadcast Service"
12 android:defaultToDeviceProtectedStorage="true"
13 android:directBootAware="true"