diff --git a/api/current.txt b/api/current.txt index c27778411556c..c8f4694eb6add 100644 --- a/api/current.txt +++ b/api/current.txt @@ -4812,6 +4812,7 @@ package android.app { method public android.graphics.drawable.Icon getLargeIcon(); method public android.graphics.drawable.Icon getSmallIcon(); method public java.lang.String getSortKey(); + method public deprecated void setLatestEventInfo(android.content.Context, java.lang.CharSequence, java.lang.CharSequence, android.app.PendingIntent); method public void writeToParcel(android.os.Parcel, int); field public static final android.media.AudioAttributes AUDIO_ATTRIBUTES_DEFAULT; field public static final java.lang.String CATEGORY_ALARM = "alarm"; diff --git a/api/removed.txt b/api/removed.txt index 8eb2d8e3c6088..2e6c6854a0902 100644 --- a/api/removed.txt +++ b/api/removed.txt @@ -1,11 +1,3 @@ -package android.app { - - public class Notification implements android.os.Parcelable { - method public deprecated void setLatestEventInfo(android.content.Context, java.lang.CharSequence, java.lang.CharSequence, android.app.PendingIntent); - } - -} - package android.content.pm { public class PackageInfo implements android.os.Parcelable { diff --git a/api/system-current.txt b/api/system-current.txt index dd05c1b53550c..e35bb57c00762 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -4907,6 +4907,7 @@ package android.app { method public android.graphics.drawable.Icon getLargeIcon(); method public android.graphics.drawable.Icon getSmallIcon(); method public java.lang.String getSortKey(); + method public deprecated void setLatestEventInfo(android.content.Context, java.lang.CharSequence, java.lang.CharSequence, android.app.PendingIntent); method public void writeToParcel(android.os.Parcel, int); field public static final android.media.AudioAttributes AUDIO_ATTRIBUTES_DEFAULT; field public static final java.lang.String CATEGORY_ALARM = "alarm"; diff --git a/api/system-removed.txt b/api/system-removed.txt index 8eb2d8e3c6088..2e6c6854a0902 100644 --- a/api/system-removed.txt +++ b/api/system-removed.txt @@ -1,11 +1,3 @@ -package android.app { - - public class Notification implements android.os.Parcelable { - method public deprecated void setLatestEventInfo(android.content.Context, java.lang.CharSequence, java.lang.CharSequence, android.app.PendingIntent); - } - -} - package android.content.pm { public class PackageInfo implements android.os.Parcelable { diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java index 9d3bdf0e6d183..33a47b24b79de 100644 --- a/core/java/android/app/Notification.java +++ b/core/java/android/app/Notification.java @@ -1742,7 +1742,6 @@ public class Notification implements Parcelable * Stack document. * * @deprecated Use {@link Builder} instead. - * @removed */ @Deprecated public void setLatestEventInfo(Context context,