Modern Apps git

MAOS.git

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

MAOS.git / patches / sensor_optout_packages_apps_PrivateSpace.patch

sensor_optout_packages_apps_PrivateSpace.patch13 lines · 565 BRaw
1diff --git a/AndroidManifest.xml b/AndroidManifest.xml
2index 5783c9e..c72e28c 100644
3--- a/AndroidManifest.xml
4+++ b/AndroidManifest.xml
5@@ -19,6 +19,8 @@
6 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
7 package="com.android.privatespace">
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:label="@string/private_space_app_label"
13 android:icon="@mipmap/ic_app_icon"