From a05db3816b4e29790aed9de9ef1cf4b2d0b616c9 Mon Sep 17 00:00:00 2001 From: Chris Wren Date: Wed, 24 Jun 2015 15:18:34 -0400 Subject: remove setLatestEventInfo This has been deprecated since API 11. Bug: 18510449 Change-Id: Ibd052572aa8c332daf5f6a604afe1925e8998a2b --- api/current.txt | 1 - api/removed.txt | 8 ++++++++ api/system-current.txt | 1 - api/system-removed.txt | 8 ++++++++ core/java/android/app/Notification.java | 1 + 5 files changed, 17 insertions(+), 2 deletions(-) diff --git a/api/current.txt b/api/current.txt index 2058ac9369c7..215efd121c6c 100644 --- a/api/current.txt +++ b/api/current.txt @@ -4737,7 +4737,6 @@ 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 2e6c6854a090..8eb2d8e3c608 100644 --- a/api/removed.txt +++ b/api/removed.txt @@ -1,3 +1,11 @@ +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 df18ce45c6e7..4473630a6052 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -4839,7 +4839,6 @@ 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 2e6c6854a090..8eb2d8e3c608 100644 --- a/api/system-removed.txt +++ b/api/system-removed.txt @@ -1,3 +1,11 @@ +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 5a0d246afc64..dd9eaf686c45 100644 --- a/core/java/android/app/Notification.java +++ b/core/java/android/app/Notification.java @@ -1749,6 +1749,7 @@ public class Notification implements Parcelable * Stack document. * * @deprecated Use {@link Builder} instead. + * @removed */ @Deprecated public void setLatestEventInfo(Context context, -- cgit v1.2.3-59-g8ed1b