Modern Apps git

MAOS.git

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

MAOS.git / patches / sensor_optout_packages_services_DeviceAsWebcam.patch

sensor_optout_packages_services_DeviceAsWebcam.patch13 lines · 655 BRaw
1diff --git a/impl/AndroidManifest.xml b/impl/AndroidManifest.xml
2index 9e6989c..19ceaaa 100644
3--- a/impl/AndroidManifest.xml
4+++ b/impl/AndroidManifest.xml
5@@ -10,6 +10,8 @@
6 <uses-permission android:name="android.permission.CAMERA"/>
7 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_CAMERA"/>
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/app_label">
13 <receiver android:name="com.android.deviceaswebcam.DeviceAsWebcamReceiverImpl"