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

Commit 0b68a474 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Improve docs for SCHEDULE_EXACT_ALARM" into tm-dev am: 8dabf5ec am:...

Merge "Improve docs for SCHEDULE_EXACT_ALARM" into tm-dev am: 8dabf5ec am: d6b51eb6 am: 9d81505f am: d64c7954

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



Change-Id: I960764f94978a5cadbc9fb57ff9ae04b989bc938
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 1bd82774 d64c7954
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -4496,10 +4496,10 @@
                android:protectionLevel="signature|privileged"/>

    <!-- Allows applications to use exact alarm APIs.
         <p>Exact alarms should only be used for user-facing features.
         For more details, see <a
         href="{@docRoot}about/versions/12/behavior-changes-12#exact-alarm-permission">
         Exact alarm permission</a>.
         <p>This is a special access permission that can be revoked by the system or the user.
         It should only be used to enable <b>user-facing features</b> that require exact alarms.
         For more details, please go through the associated
          <a href="{@docRoot}training/scheduling/alarms#exact">developer docs</a>.
         <p>Apps need to target API {@link android.os.Build.VERSION_CODES#S} or above to be able to
         request this permission. Note that apps targeting lower API levels do not need this
         permission to use exact alarm APIs.
@@ -4510,6 +4510,7 @@
         {@link android.Manifest.permission#USE_EXACT_ALARM} once it targets API
         {@link android.os.Build.VERSION_CODES#TIRAMISU}. All apps using exact alarms for secondary
         features (which should still be user facing) should continue using this permission.
         <p>Protection level: appop
     -->
    <permission android:name="android.permission.SCHEDULE_EXACT_ALARM"
        android:protectionLevel="normal|appop"/>