Modern Apps git

MAOS.git

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

MAOS.git / patches / sensor_optout_packages_modules_DeviceLock.patch

sensor_optout_packages_modules_DeviceLock.patch12 lines · 604 BRaw
1diff --git a/DeviceLockController/AndroidManifest.xml b/DeviceLockController/AndroidManifest.xml
2index 0261769d..5fe2280d 100644
3--- a/DeviceLockController/AndroidManifest.xml
4+++ b/DeviceLockController/AndroidManifest.xml
5@@ -24,5 +24,7 @@
6 xmlns:tools="http://schemas.android.com/tools"
7 package="com.android.devicelockcontroller">
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 android:name=".DeviceLockControllerApplication" />
12 </manifest>