diff options
| author | 2024-04-30 20:57:14 +0000 | |
|---|---|---|
| committer | 2024-04-30 20:57:14 +0000 | |
| commit | 997f984eff13a009ca3ffd66c62f121de68a3a5c (patch) | |
| tree | 305a9f37964ee0c068269079c1b4a7de212e95ce | |
| parent | c8615ba43c0abcf364b39431d8137fa8c23563c3 (diff) | |
| parent | f68a40ec75f99d07b200281eb61a88109cb00996 (diff) | |
Merge "Revert "Remove refererence from public API to flagged API"" into main
| -rw-r--r-- | core/java/android/app/Notification.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java index 4d7e29b19771..05a2aece789f 100644 --- a/core/java/android/app/Notification.java +++ b/core/java/android/app/Notification.java @@ -9770,6 +9770,12 @@ public class Notification implements Parcelable * You can opt-out of this behavior by using {@link Notification.Builder#setColorized(boolean)}. * <p> * + * <p> + * Starting at {@link android.os.Build.VERSION_CODES#VANILLA_ICE_CREAM Android V} the + * {@link Notification#FLAG_NO_CLEAR NO_CLEAR flag} will be set for valid MediaStyle + * notifications. + * <p> + * * To use this style with your Notification, feed it to * {@link Notification.Builder#setStyle(android.app.Notification.Style)} like so: * <pre class="prettyprint"> |