Merge "Clarify documentation about targets of DND-related broadcasts" into tm-qpr-dev am: f36bf2c7ed
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21479685 Change-Id: Ib7635bdc20c9326948a2d7d620ea9abdbb1c679e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -317,7 +317,10 @@ public class NotificationManager {
|
||||
|
||||
/**
|
||||
* Intent that is broadcast when the state of {@link #getEffectsSuppressor()} changes.
|
||||
* This broadcast is only sent to registered receivers.
|
||||
*
|
||||
* <p>This broadcast is only sent to registered receivers and (starting from
|
||||
* {@link Build.VERSION_CODES#Q}) receivers in packages that have been granted Do Not
|
||||
* Disturb access (see {@link #isNotificationPolicyAccessGranted()}).
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
@@ -337,7 +340,10 @@ public class NotificationManager {
|
||||
|
||||
/**
|
||||
* Intent that is broadcast when the state of getNotificationPolicy() changes.
|
||||
* This broadcast is only sent to registered receivers.
|
||||
*
|
||||
* <p>This broadcast is only sent to registered receivers and (starting from
|
||||
* {@link Build.VERSION_CODES#Q}) receivers in packages that have been granted Do Not
|
||||
* Disturb access (see {@link #isNotificationPolicyAccessGranted()}).
|
||||
*/
|
||||
@SdkConstant(SdkConstant.SdkConstantType.BROADCAST_INTENT_ACTION)
|
||||
public static final String ACTION_NOTIFICATION_POLICY_CHANGED
|
||||
@@ -345,7 +351,10 @@ public class NotificationManager {
|
||||
|
||||
/**
|
||||
* Intent that is broadcast when the state of getCurrentInterruptionFilter() changes.
|
||||
* This broadcast is only sent to registered receivers.
|
||||
*
|
||||
* <p>This broadcast is only sent to registered receivers and (starting from
|
||||
* {@link Build.VERSION_CODES#Q}) receivers in packages that have been granted Do Not
|
||||
* Disturb access (see {@link #isNotificationPolicyAccessGranted()}).
|
||||
*/
|
||||
@SdkConstant(SdkConstant.SdkConstantType.BROADCAST_INTENT_ACTION)
|
||||
public static final String ACTION_INTERRUPTION_FILTER_CHANGED
|
||||
|
||||
Reference in New Issue
Block a user