Modern Apps git

MAOS.git

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

MAOS.git / patches / sensor_optout_packages_services_CrossDeviceSync.patch

sensor_optout_packages_services_CrossDeviceSync.patch13 lines · 557 BRaw
1diff --git a/AndroidManifest.xml b/AndroidManifest.xml
2index dd719ce..e37c890 100644
3--- a/AndroidManifest.xml
4+++ b/AndroidManifest.xml
5@@ -28,6 +28,8 @@
6 <uses-permission android:name="android.permission.USE_COMPANION_TRANSPORTS" />
7 <!-- go/keep-sorted end -->
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=".CrossDeviceSyncApplication"
13 android:persistent="true"