summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Chris Wren <cwren@android.com> 2015-06-24 15:18:34 -0400
committer Chris Wren <cwren@android.com> 2015-06-24 15:18:34 -0400
commita05db3816b4e29790aed9de9ef1cf4b2d0b616c9 (patch)
treef6a535f81b8476e9226361d334723cfa48377ae0
parentf1b25bd43464b2603da98ce5f03f41d9819d2374 (diff)
remove setLatestEventInfo
This has been deprecated since API 11. Bug: 18510449 Change-Id: Ibd052572aa8c332daf5f6a604afe1925e8998a2b
-rw-r--r--api/current.txt1
-rw-r--r--api/removed.txt8
-rw-r--r--api/system-current.txt1
-rw-r--r--api/system-removed.txt8
-rw-r--r--core/java/android/app/Notification.java1
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</a> document.
*
* @deprecated Use {@link Builder} instead.
+ * @removed
*/
@Deprecated
public void setLatestEventInfo(Context context,