Modern Apps git

MAOS.git

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

MAOS.git / patches / sensor_optout_packages_apps_SafetyRegulatoryInfo.patch

sensor_optout_packages_apps_SafetyRegulatoryInfo.patch13 lines · 551 BRaw
1diff --git a/AndroidManifest.xml b/AndroidManifest.xml
2index 83437ae..f7048c1 100644
3--- a/AndroidManifest.xml
4+++ b/AndroidManifest.xml
5@@ -16,6 +16,8 @@
6 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
7 package="com.android.safetyregulatoryinfo">
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:label="@string/app_name"