diff options
| -rw-r--r-- | core/java/android/hardware/input/input_framework.aconfig | 8 | ||||
| -rw-r--r-- | core/res/Android.bp | 1 | ||||
| -rw-r--r-- | core/res/AndroidManifest.xml | 3 |
3 files changed, 11 insertions, 1 deletions
diff --git a/core/java/android/hardware/input/input_framework.aconfig b/core/java/android/hardware/input/input_framework.aconfig index 83c4de31824d..0ddb3e200bc2 100644 --- a/core/java/android/hardware/input/input_framework.aconfig +++ b/core/java/android/hardware/input/input_framework.aconfig @@ -99,3 +99,11 @@ flag { description: "Refactor ModifierShortcutManager internal representation of shortcuts." bug: "358603902" } + +flag { + namespace: "input_native" + name: "manage_key_gestures" + description: "Manage key gestures through Input APIs" + is_exported: true + bug: "358569822" +} diff --git a/core/res/Android.bp b/core/res/Android.bp index bcc0a975b913..17d7bfa40f90 100644 --- a/core/res/Android.bp +++ b/core/res/Android.bp @@ -167,6 +167,7 @@ android_app { "android.os.flags-aconfig", "android.os.vibrator.flags-aconfig", "android.media.tv.flags-aconfig", + "com.android.hardware.input.input-aconfig", ], } diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index f795406074b8..e5b70a7c3a69 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -8171,7 +8171,8 @@ <p>Not for use by third-party applications. @hide --> <permission android:name="android.permission.MANAGE_KEY_GESTURES" - android:protectionLevel="signature" /> + android:protectionLevel="signature" + android:featureFlag="com.android.hardware.input.manage_key_gestures" /> <uses-permission android:name="android.permission.HANDLE_QUERY_PACKAGE_RESTART" /> |