Merge "Update documentation on notification policy access"
This commit is contained in:
committed by
Android (Google) Code Review
commit
efad1da2f1
@@ -1190,7 +1190,8 @@ public final class Settings {
|
||||
/**
|
||||
* Activity Action: Show Do Not Disturb access settings.
|
||||
* <p>
|
||||
* Users can grant and deny access to Do Not Disturb configuration from here.
|
||||
* Users can grant and deny access to Do Not Disturb configuration from here. Managed
|
||||
* profiles cannot grant Do Not Disturb access.
|
||||
* See {@link android.app.NotificationManager#isNotificationPolicyAccessGranted()} for more
|
||||
* details.
|
||||
* <p>
|
||||
|
||||
@@ -3906,7 +3906,8 @@
|
||||
<permission android:name="android.permission.ACCESS_NOTIFICATIONS"
|
||||
android:protectionLevel="signature|privileged|appop" />
|
||||
|
||||
<!-- Marker permission for applications that wish to access notification policy.
|
||||
<!-- Marker permission for applications that wish to access notification policy. This permission
|
||||
is not supported on managed profiles.
|
||||
<p>Protection level: normal
|
||||
-->
|
||||
<permission android:name="android.permission.ACCESS_NOTIFICATION_POLICY"
|
||||
|
||||
Reference in New Issue
Block a user