summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jeff DeCew <jeffdq@google.com> 2025-01-07 12:06:22 -0800
committer Android (Google) Code Review <android-gerrit@google.com> 2025-01-07 12:06:22 -0800
commita22a5832f1ab512637a507485bc2a0897cd6a327 (patch)
tree663b308098a2f08b5c69fd323c527942279e2448
parent235eac35431fc5bbafce9623e95b6008c922f1ce (diff)
parent7658144c158d7e0a6d67b7431e92e777e0f1f735 (diff)
Merge "Update the docs for FLAG_PROMOTED_ONGOING." into main
-rw-r--r--core/java/android/app/Notification.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java
index 24594ab41100..614e2aaf42e8 100644
--- a/core/java/android/app/Notification.java
+++ b/core/java/android/app/Notification.java
@@ -774,8 +774,9 @@ public class Notification implements Parcelable
/**
* Bit to be bitwise-ored into the {@link #flags} field that should be
- * set by the system if this notification is a promoted ongoing notification, either via a
- * user setting or allowlist.
+ * set by the system if this notification is a promoted ongoing notification, both because it
+ * {@link #hasPromotableCharacteristics()} and the user has not disabled the feature for this
+ * app.
*
* Applications cannot set this flag directly, but the posting app and
* {@link android.service.notification.NotificationListenerService} can read it.