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

Commit 19f6a688 authored by Wentao Wang's avatar Wentao Wang Committed by Automerger Merge Worker
Browse files

Merge "Make MODIFY_DAY_NIGHT_MODE and OBSERVE_APP_USAGE permissions grantable...

Merge "Make MODIFY_DAY_NIGHT_MODE and OBSERVE_APP_USAGE permissions grantable via role." into udc-qpr-dev am: 894a8d6e

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23683280



Change-Id: I9765d7a170b4d31813392901f0d23036a2b6c2ba
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 2caccdb3 894a8d6e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -6096,7 +6096,7 @@
    <!-- @hide @SystemApi Allows an application to observe usage time of apps. The app can register
         for callbacks when apps reach a certain usage time limit, etc. -->
    <permission android:name="android.permission.OBSERVE_APP_USAGE"
        android:protectionLevel="signature|privileged" />
        android:protectionLevel="signature|privileged|role" />

    <!-- @hide @TestApi @SystemApi Allows an application to change the app idle state of an app.
         <p>Not for use by third-party applications. -->
@@ -6726,7 +6726,7 @@
         it will be ignored.
        @hide -->
    <permission android:name="android.permission.MODIFY_DAY_NIGHT_MODE"
      android:protectionLevel="signature|privileged" />
      android:protectionLevel="signature|privileged|role" />

    <!-- @SystemApi Allows entering or exiting car mode using a specified priority.
        This permission is required to use UiModeManager while specifying a priority for the calling