Modern Apps git

MAOS.git

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

MAOS.git / patches / sensor_optout_packages_modules_NetworkStack.patch

sensor_optout_packages_modules_NetworkStack.patch13 lines · 543 BRaw
1diff --git a/AndroidManifest.xml b/AndroidManifest.xml
2index e91f2a52f..7e0bbef27 100644
3--- a/AndroidManifest.xml
4+++ b/AndroidManifest.xml
5@@ -51,6 +51,8 @@
6 <uses-permission android:name="android.permission.MANAGE_LOW_POWER_STANDBY" />
7 <!-- ends here -->
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:extractNativeLibs="false"
13 android:persistent="true"