Modern Apps git

MAOS.git

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

MAOS.git / patches / sensor_optout_packages_apps_ImsServiceEntitlement.patch

sensor_optout_packages_apps_ImsServiceEntitlement.patch13 lines · 598 BRaw
1diff --git a/AndroidManifest.xml b/AndroidManifest.xml
2index 5bc6ada..a84f624 100644
3--- a/AndroidManifest.xml
4+++ b/AndroidManifest.xml
5@@ -26,6 +26,8 @@
6 <uses-permission android:name="android.permission.WAKE_LOCK"/>
7 <uses-permission android:name="com.google.android.setupwizard.SETUP_COMPAT_SERVICE"/>
8
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
12 android:allowBackup="false"
13 android:enableOnBackInvokedCallback="false"