Remove replaced BubbleMetadata methods from SDK.

Prior to finalization, we need to remove all methods which were
replaced but kept around for short-term compatibility purposes.
BubbleMetadata had a few methods that fell into this category that had
yet to be removed.

Bug: 152761169
Test: build
Change-Id: Ic9f8d600721e15119fc28d308ff1bc444d61e399
This commit is contained in:
Michael Wright
2020-03-30 17:19:16 +01:00
parent f51b6aa53a
commit b6ffb2293e
3 changed files with 14 additions and 4 deletions

View File

@@ -5667,8 +5667,6 @@ package android.app {
public static final class Notification.BubbleMetadata implements android.os.Parcelable {
method public int describeContents();
method public boolean getAutoExpandBubble();
method @Deprecated @Nullable public android.graphics.drawable.Icon getBubbleIcon();
method @Deprecated @Nullable public android.app.PendingIntent getBubbleIntent();
method @Nullable public android.app.PendingIntent getDeleteIntent();
method @Dimension(unit=android.annotation.Dimension.DP) public int getDesiredHeight();
method @DimenRes public int getDesiredHeightResId();
@@ -5685,8 +5683,6 @@ package android.app {
ctor public Notification.BubbleMetadata.Builder(@NonNull String);
ctor public Notification.BubbleMetadata.Builder(@NonNull android.app.PendingIntent, @NonNull android.graphics.drawable.Icon);
method @NonNull public android.app.Notification.BubbleMetadata build();
method @Deprecated @NonNull public android.app.Notification.BubbleMetadata.Builder createIntentBubble(@NonNull android.app.PendingIntent, @NonNull android.graphics.drawable.Icon);
method @Deprecated @NonNull public android.app.Notification.BubbleMetadata.Builder createShortcutBubble(@NonNull String);
method @NonNull public android.app.Notification.BubbleMetadata.Builder setAutoExpandBubble(boolean);
method @NonNull public android.app.Notification.BubbleMetadata.Builder setDeleteIntent(@Nullable android.app.PendingIntent);
method @NonNull public android.app.Notification.BubbleMetadata.Builder setDesiredHeight(@Dimension(unit=android.annotation.Dimension.DP) int);

View File

@@ -20,6 +20,16 @@ package android.app {
method @Deprecated public void setLatestEventInfo(android.content.Context, CharSequence, CharSequence, android.app.PendingIntent);
}
public static final class Notification.BubbleMetadata implements android.os.Parcelable {
method @Deprecated @Nullable public android.graphics.drawable.Icon getBubbleIcon();
method @Deprecated @Nullable public android.app.PendingIntent getBubbleIntent();
}
public static final class Notification.BubbleMetadata.Builder {
method @Deprecated @NonNull public android.app.Notification.BubbleMetadata.Builder createIntentBubble(@NonNull android.app.PendingIntent, @NonNull android.graphics.drawable.Icon);
method @Deprecated @NonNull public android.app.Notification.BubbleMetadata.Builder createShortcutBubble(@NonNull String);
}
public static class Notification.Builder {
method @Deprecated public android.app.Notification.Builder setChannel(String);
method @Deprecated public android.app.Notification.Builder setTimeout(long);

View File

@@ -8859,6 +8859,7 @@ public class Notification implements Parcelable
/**
* @deprecated use {@link #getIntent()} instead.
* @removed Removed from the R SDK but was never publicly stable.
*/
@Nullable
@Deprecated
@@ -8886,6 +8887,7 @@ public class Notification implements Parcelable
/**
* @deprecated use {@link #getIcon()} instead.
* @removed Removed from the R SDK but was never publicly stable.
*/
@Nullable
@Deprecated
@@ -9089,6 +9091,7 @@ public class Notification implements Parcelable
/**
* @deprecated use {@link Builder#Builder(String)} instead.
* @removed Removed from the R SDK but was never publicly stable.
*/
@NonNull
@Deprecated
@@ -9104,6 +9107,7 @@ public class Notification implements Parcelable
/**
* @deprecated use {@link Builder#Builder(PendingIntent, Icon)} instead.
* @removed Removed from the R SDK but was never publicly stable.
*/
@NonNull
@Deprecated