From 83921b2e3c1eba1f4488232a425ea57a7dae1476 Mon Sep 17 00:00:00 2001 From: Antonio Kantek Date: Wed, 26 Jan 2022 12:17:56 -0800 Subject: [PATCH] (TouchMode Permission 1/n) Introduce permission for touch mode Introduce the system permission to grant touch mode state change. Bug: 198487159 Test: m (built) Change-Id: I9577b2c9bc4716fda58995048c8de8824f8329fc --- core/api/system-current.txt | 1 + core/res/AndroidManifest.xml | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/core/api/system-current.txt b/core/api/system-current.txt index 8e688582a3bad..8e9fd5a2895d8 100644 --- a/core/api/system-current.txt +++ b/core/api/system-current.txt @@ -201,6 +201,7 @@ package android { field public static final String MODIFY_PARENTAL_CONTROLS = "android.permission.MODIFY_PARENTAL_CONTROLS"; field public static final String MODIFY_QUIET_MODE = "android.permission.MODIFY_QUIET_MODE"; field public static final String MODIFY_SETTINGS_OVERRIDEABLE_BY_RESTORE = "android.permission.MODIFY_SETTINGS_OVERRIDEABLE_BY_RESTORE"; + field public static final String MODIFY_TOUCH_MODE_STATE = "android.permission.MODIFY_TOUCH_MODE_STATE"; field public static final String MOVE_PACKAGE = "android.permission.MOVE_PACKAGE"; field public static final String NETWORK_AIRPLANE_MODE = "android.permission.NETWORK_AIRPLANE_MODE"; field public static final String NETWORK_CARRIER_PROVISIONING = "android.permission.NETWORK_CARRIER_PROVISIONING"; diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index c9bd22210a771..faaa28da41119 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -4672,6 +4672,13 @@ + + +