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

Commit b7bf86b1 authored by Steven Ng's avatar Steven Ng Committed by Android (Google) Code Review
Browse files

Merge "Gate MANAGE_KEY_GESTURES protection level change with a flag" into main

parents 622e2fd8 8cf70494
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -1150,6 +1150,14 @@ flag {
    }
}

flag {
    name: "grant_manage_key_gestures_to_recents"
    namespace: "lse_desktop_experience"
    description: "Grant MANAGE_KEY_GESTURES permission to the recents holder."
    bug: "406452076"
    is_fixed_read_only: true
}

flag {
    name: "enable_key_gesture_handler_for_recents"
    namespace: "lse_desktop_experience"
+9 −1
Original line number Diff line number Diff line
@@ -8659,7 +8659,15 @@
         <p>Not for use by third-party applications.
         @hide -->
    <permission android:name="android.permission.MANAGE_KEY_GESTURES"
                android:protectionLevel="signature|recents" />
                android:protectionLevel="signature"
                android:featureFlag="!com.android.window.flags.grant_manage_key_gestures_to_recents" />

    <!-- Allows low-level access to manage key gestures.
         <p>Not for use by third-party applications.
         @hide -->
    <permission android:name="android.permission.MANAGE_KEY_GESTURES"
                android:protectionLevel="signature|recents"
                android:featureFlag="com.android.window.flags.grant_manage_key_gestures_to_recents" />

    <!-- Allows applications to register listeners for key activeness through
         InputManagerService.