summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Yuri Lin <yurilin@google.com> 2024-03-14 15:15:05 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2024-03-14 15:15:05 +0000
commit263ea3bc01a197ac6812e676383395fb36385268 (patch)
tree7a712c7e507d6d8f32e91b3efd9e8195fa340f21
parent40ed5e51e8713ec7d0a8f8225fc007fd40aeb7f7 (diff)
parent16bc4e37395d5246096e5f022625226ce994d56d (diff)
Merge "Update documentation for canBypassDnd." into main
-rw-r--r--core/java/android/app/NotificationChannel.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/app/NotificationChannel.java b/core/java/android/app/NotificationChannel.java
index 9f2e4739e8e6..7c803ebde384 100644
--- a/core/java/android/app/NotificationChannel.java
+++ b/core/java/android/app/NotificationChannel.java
@@ -776,7 +776,8 @@ public final class NotificationChannel implements Parcelable {
/**
* Whether or not notifications posted to this channel can bypass the Do Not Disturb
- * {@link NotificationManager#INTERRUPTION_FILTER_PRIORITY} mode.
+ * {@link NotificationManager#INTERRUPTION_FILTER_PRIORITY} mode when the active policy allows
+ * priority channels to bypass notification filtering.
*/
public boolean canBypassDnd() {
return mBypassDnd;