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

Commit 20cdf105 authored by Maitri Mangal's avatar Maitri Mangal Committed by Android (Google) Code Review
Browse files

Merge changes from topic "permission-flags-for-user-activeness" into main

* changes:
  Adding  attribute to the new permisison LISTEN_FOR_KEY_ACTIVITY
  Adding Permission for a global listener that will notify on user activeness events in InputManager
parents 3796abb1 9c7bba78
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -8446,6 +8446,14 @@
                android:protectionLevel="signature"
                android:featureFlag="com.android.hardware.input.manage_key_gestures" />

    <!-- Allows applications to register listeners for key activeness through
         InputManagerService.
         <p>Protection level: signature
         @hide -->
    <permission android:name="android.permission.LISTEN_FOR_KEY_ACTIVITY"
                android:protectionLevel="signature"
                android:featureFlag="com.android.hardware.input.key_event_activity_detection" />

    <uses-permission android:name="android.permission.HANDLE_QUERY_PACKAGE_RESTART" />

    <!-- Allows financed device kiosk apps to perform actions on the Device Lock service
+2 −0
Original line number Diff line number Diff line
@@ -295,6 +295,8 @@ applications that come with the platform
        <permission name="android.permission.INSTALL_PACKAGE_UPDATES"/>
        <permission name="android.permission.KILL_ALL_BACKGROUND_PROCESSES"/>
        <!-- Needed for test only -->
        <permission name="android.permission.LISTEN_FOR_KEY_ACTIVITY" />
        <!-- Needed for test only -->
        <permission name="android.permission.ACCESS_MTP"/>
        <!-- Needed for test only -->
        <permission name="android.permission.INTERACT_ACROSS_PROFILES"/>