diff options
| author | 2022-05-24 00:56:15 +0000 | |
|---|---|---|
| committer | 2022-05-24 00:56:15 +0000 | |
| commit | d6b51eb6a9c89feb00d935258b5252088a5c722f (patch) | |
| tree | 145a0806a0d16ae09e963a29a0fc750677d8d939 | |
| parent | 9eca9d7d0be7d9b353fa3b6be8afd4028c0ab671 (diff) | |
| parent | 8dabf5ec4eb4f9fcb90cdf2ad51793645c744b4d (diff) | |
Merge "Improve docs for SCHEDULE_EXACT_ALARM" into tm-dev am: 8dabf5ec4e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18500505
Change-Id: I6883fe606f672cfcde8bcf945913268312282622
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| -rw-r--r-- | core/res/AndroidManifest.xml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 8db5f9a1f51b..e52da0fd6787 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -4495,10 +4495,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. @@ -4509,6 +4509,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"/> |