diff options
| author | 2024-04-30 17:19:44 +0000 | |
|---|---|---|
| committer | 2024-04-30 17:19:44 +0000 | |
| commit | f68a40ec75f99d07b200281eb61a88109cb00996 (patch) | |
| tree | 0c54b2ff0c8ea353edb40ff216e5be918ad07a76 | |
| parent | 3699d3673dc85ccfab32e940ec047273fd9609f1 (diff) | |
Revert "Remove refererence from public API to flagged API"
This reverts commit 3699d3673dc85ccfab32e940ec047273fd9609f1.
Reason for revert: b/315150654
Change-Id: I0f4b52cc63e16ad1c2b3526db7474bb5887f4b4a
| -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 1891400ddc68..337e3f1195be 100644 --- a/core/java/android/app/Notification.java +++ b/core/java/android/app/Notification.java @@ -9199,6 +9199,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"> |