Modern Apps git

MAOS.git

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

MAOS.git / patches / sensor_optout_packages_apps_ManagedProvisioning.patch

sensor_optout_packages_apps_ManagedProvisioning.patch13 lines · 610 BRaw
1diff --git a/AndroidManifest.xml b/AndroidManifest.xml
2index 5819103b5..4df6275db 100644
3--- a/AndroidManifest.xml
4+++ b/AndroidManifest.xml
5@@ -85,6 +85,8 @@
6 <!-- Used to read the device management role holder package name -->
7 <uses-permission android:name="android.permission.MANAGE_ROLE_HOLDERS" />
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:name=".ManagedProvisioningApplication"
13 android:allowClearUserData="false"