Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cc8b7aba authored by Vaibhav Devmurari's avatar Vaibhav Devmurari
Browse files

Feature flag new "MANAGE_KEY_GESTURES" permission

Bug: 361567988
Test: CtsPermissionPolicyTestCases
Flag: com.android.hardware.input.manage_key_gestures
Change-Id: Ie1ad13dd73dcf4ebcd6a5d0dc9d9a016ab4dfb89
parent f0150a7f
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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"
}
+1 −0
Original line number Diff line number Diff line
@@ -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",
    ],
}

+2 −1
Original line number Diff line number Diff line
@@ -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" />