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

Commit 296df2db authored by Steven Ng's avatar Steven Ng
Browse files

Add recents to MANAGE_KEY_GESTURES protection level

QuickStep launcher will call InputManager#[un]registerKeyGestureEventListener for key events.

Notes: In the long term, we should restrict the key gesture event that the recents holder can listen to.

Bug: 406452076
Test: mp droid
Flag: com.android.hardware.input.manage_key_gestures
Change-Id: I7cd1eca694b01322eba6af072327dfcfdb2b5b35
parent 8896a019
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8652,7 +8652,7 @@
         <p>Not for use by third-party applications.
         @hide -->
    <permission android:name="android.permission.MANAGE_KEY_GESTURES"
                android:protectionLevel="signature"
                android:protectionLevel="signature|recents"
                android:featureFlag="com.android.hardware.input.manage_key_gestures" />

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