MAOS.git
Publicgit clone https://git.maproj.org/MAOS.gitMAOS.git / patches / sensor_optout_packages_apps_Multiuser.patch
sensor_optout_packages_apps_Multiuser.patch26 lines · 1.2 KiBRaw
| 1 | diff --git a/AndroidManifest.xml b/AndroidManifest.xml |
| 2 | index 318402a..4c774a8 100644 |
| 3 | --- a/AndroidManifest.xml |
| 4 | +++ b/AndroidManifest.xml |
| 5 | @@ -22,6 +22,8 @@ |
| 6 | <uses-permission android:name="android.permission.MANAGE_USERS"/> |
| 7 | <uses-permission android:name="android.permission.START_ANY_ACTIVITY"/> |
| 8 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS"/> |
| 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/multiuser_app_name" |
| 13 | android:theme="@style/Theme.MultiuserWidget" |
| 14 | diff --git a/Stacks/AndroidManifest.xml b/Stacks/AndroidManifest.xml |
| 15 | index 1866a23..3e480c8 100644 |
| 16 | --- a/Stacks/AndroidManifest.xml |
| 17 | +++ b/Stacks/AndroidManifest.xml |
| 18 | @@ -17,6 +17,8 @@ |
| 19 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 20 | xmlns:tools="http://schemas.android.com/tools" |
| 21 | package="com.android.multiuser.stacks"> |
| 22 | + <!-- MAOS: opt out of the GrapheneOS Sensors permission (never requested nor granted). --> |
| 23 | + <uses-permission android:name="com.vayunmathur.permission.SENSORS_OPTOUT" /> |
| 24 | <application> |
| 25 | |
| 26 | </application> |