diff options
| author | 2019-04-29 16:17:15 +0000 | |
|---|---|---|
| committer | 2019-04-29 16:17:15 +0000 | |
| commit | 02d6277b9508cbc30c76193a9aea3a7b8f9d9cfc (patch) | |
| tree | 59ff9459c292edd224c19f7537e953b7c76df304 | |
| parent | 143a4a6a049844c52155ff3ebd9e8b56570374ac (diff) | |
| parent | eae986e47411b285ed577e0e06f3f286c13d2df9 (diff) | |
Merge "Remove bubble API added & deprecated in Q" into qt-dev
| -rw-r--r-- | api/current.txt | 3 | ||||
| -rw-r--r-- | core/java/android/app/Notification.java | 42 |
2 files changed, 0 insertions, 45 deletions
diff --git a/api/current.txt b/api/current.txt index b0452e342d0f..81069c59bb40 100644 --- a/api/current.txt +++ b/api/current.txt @@ -5502,8 +5502,6 @@ package android.app { method @DimenRes public int getDesiredHeightResId(); method @NonNull public android.graphics.drawable.Icon getIcon(); method @NonNull public android.app.PendingIntent getIntent(); - method @Deprecated public boolean getSuppressInitialNotification(); - method @Deprecated public boolean getSuppressNotification(); method public boolean isNotificationSuppressed(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator<android.app.Notification.BubbleMetadata> CREATOR; @@ -5518,7 +5516,6 @@ package android.app { method @NonNull public android.app.Notification.BubbleMetadata.Builder setDesiredHeightResId(@DimenRes int); method @NonNull public android.app.Notification.BubbleMetadata.Builder setIcon(@NonNull android.graphics.drawable.Icon); method @NonNull public android.app.Notification.BubbleMetadata.Builder setIntent(@NonNull android.app.PendingIntent); - method @Deprecated @NonNull public android.app.Notification.BubbleMetadata.Builder setSuppressInitialNotification(boolean); method @NonNull public android.app.Notification.BubbleMetadata.Builder setSuppressNotification(boolean); } diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java index d0361b7e1118..15b571ffcd72 100644 --- a/core/java/android/app/Notification.java +++ b/core/java/android/app/Notification.java @@ -8642,27 +8642,6 @@ public class Notification implements Parcelable } /** - * @return whether this bubble should suppress the initial notification when it is posted. - * - * @see BubbleMetadata.Builder#setSuppressInitialNotification(boolean) - * @deprecated TO BE REMOVED, use {@link #isNotificationSuppressed()} instead. - */ - @Deprecated - public boolean getSuppressInitialNotification() { - return isNotificationSuppressed(); - } - - /** - * @return whether this bubble should suppress the notification when it is posted. - * - * @see BubbleMetadata.Builder#setSuppressNotification(boolean) - * @deprecated TO BE REMOVED, use {@link #isNotificationSuppressed()} instead. - */ - public boolean getSuppressNotification() { - return isNotificationSuppressed(); - } - - /** * @return whether this bubble should suppress the notification when it is posted. * * @see BubbleMetadata.Builder#setSuppressNotification(boolean) @@ -8818,27 +8797,6 @@ public class Notification implements Parcelable } /** - * If set and the app creating the bubble is in the foreground, the bubble will be - * posted <b>without</b> the associated notification in the notification shade. - * Subsequent update notifications to this bubble will post a notification in the shade. - * - * <p>If the app creating the bubble is not in the foreground this flag has no effect. - * </p> - * - * <p>Generally this flag should only be set if the user has performed an action to - * request or create a bubble.</p> - * - * @deprecated TO BE REMOVED, use {@link #setSuppressNotification(boolean)} instead. - */ - @Deprecated - @NonNull - public BubbleMetadata.Builder setSuppressInitialNotification( - boolean shouldSupressNotif) { - setFlag(FLAG_SUPPRESS_NOTIFICATION, shouldSupressNotif); - return this; - } - - /** * If set and the app posting the bubble is in the foreground, the bubble will be * posted <b>without</b> the associated notification in the notification shade. * |