diff options
author | 2025-01-07 12:06:22 -0800 | |
---|---|---|
committer | 2025-01-07 12:06:22 -0800 | |
commit | a22a5832f1ab512637a507485bc2a0897cd6a327 (patch) | |
tree | 663b308098a2f08b5c69fd323c527942279e2448 | |
parent | 235eac35431fc5bbafce9623e95b6008c922f1ce (diff) | |
parent | 7658144c158d7e0a6d67b7431e92e777e0f1f735 (diff) |
Merge "Update the docs for FLAG_PROMOTED_ONGOING." into main
-rw-r--r-- | core/java/android/app/Notification.java | 5 |
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. |