Loading api/current.txt +0 −2 Original line number Diff line number Diff line Loading @@ -5484,7 +5484,6 @@ package android.app { method @NonNull public android.graphics.drawable.Icon getIcon(); method @NonNull public android.app.PendingIntent getIntent(); method public boolean getSuppressInitialNotification(); method @Deprecated public CharSequence getTitle(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator<android.app.Notification.BubbleMetadata> CREATOR; } Loading @@ -5498,7 +5497,6 @@ package android.app { 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 @NonNull public android.app.Notification.BubbleMetadata.Builder setSuppressInitialNotification(boolean); method @Deprecated public android.app.Notification.BubbleMetadata.Builder setTitle(CharSequence); } public static class Notification.Builder { core/java/android/app/Notification.java +0 −24 Original line number Diff line number Diff line Loading @@ -8580,17 +8580,6 @@ public class Notification implements Parcelable return mDeleteIntent; } /** * @return the title that will appear along with the app content defined by * {@link #getIntent()} for this bubble. * * @deprecated titles are no longer required or shown. */ @Deprecated public CharSequence getTitle() { return ""; } /** * @return the icon that will be displayed for this bubble when it is collapsed. */ Loading Loading @@ -8690,19 +8679,6 @@ public class Notification implements Parcelable return this; } /** * Sets the title that will appear along with the app content for this bubble. * * <p>A title is required and should expect to fit on a single line and make sense when * shown with the content defined by {@link #setIntent(PendingIntent)}.</p> * * @deprecated titles are no longer required or shown. */ @Deprecated public BubbleMetadata.Builder setTitle(CharSequence title) { return this; } /** * Sets the icon that will represent the bubble when it is collapsed. * Loading packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationTestHelper.java +0 −1 Original line number Diff line number Diff line Loading @@ -312,7 +312,6 @@ public class NotificationTestHelper { return new BubbleMetadata.Builder() .setIntent(bubbleIntent) .setDeleteIntent(deleteIntent) .setTitle("bubble title") .setIcon(Icon.createWithResource(mContext, R.drawable.android)) .setDesiredHeight(314) .build(); Loading Loading
api/current.txt +0 −2 Original line number Diff line number Diff line Loading @@ -5484,7 +5484,6 @@ package android.app { method @NonNull public android.graphics.drawable.Icon getIcon(); method @NonNull public android.app.PendingIntent getIntent(); method public boolean getSuppressInitialNotification(); method @Deprecated public CharSequence getTitle(); method public void writeToParcel(android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator<android.app.Notification.BubbleMetadata> CREATOR; } Loading @@ -5498,7 +5497,6 @@ package android.app { 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 @NonNull public android.app.Notification.BubbleMetadata.Builder setSuppressInitialNotification(boolean); method @Deprecated public android.app.Notification.BubbleMetadata.Builder setTitle(CharSequence); } public static class Notification.Builder {
core/java/android/app/Notification.java +0 −24 Original line number Diff line number Diff line Loading @@ -8580,17 +8580,6 @@ public class Notification implements Parcelable return mDeleteIntent; } /** * @return the title that will appear along with the app content defined by * {@link #getIntent()} for this bubble. * * @deprecated titles are no longer required or shown. */ @Deprecated public CharSequence getTitle() { return ""; } /** * @return the icon that will be displayed for this bubble when it is collapsed. */ Loading Loading @@ -8690,19 +8679,6 @@ public class Notification implements Parcelable return this; } /** * Sets the title that will appear along with the app content for this bubble. * * <p>A title is required and should expect to fit on a single line and make sense when * shown with the content defined by {@link #setIntent(PendingIntent)}.</p> * * @deprecated titles are no longer required or shown. */ @Deprecated public BubbleMetadata.Builder setTitle(CharSequence title) { return this; } /** * Sets the icon that will represent the bubble when it is collapsed. * Loading
packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationTestHelper.java +0 −1 Original line number Diff line number Diff line Loading @@ -312,7 +312,6 @@ public class NotificationTestHelper { return new BubbleMetadata.Builder() .setIntent(bubbleIntent) .setDeleteIntent(deleteIntent) .setTitle("bubble title") .setIcon(Icon.createWithResource(mContext, R.drawable.android)) .setDesiredHeight(314) .build(); Loading