Merge "remove setLatestEventInfo" into mnc-dev

This commit is contained in:
Chris Wren
2015-06-24 22:17:39 +00:00
committed by Android (Google) Code Review
5 changed files with 17 additions and 2 deletions

View File

@@ -4729,7 +4729,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";

View File

@@ -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 {

View File

@@ -4831,7 +4831,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";

View File

@@ -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 {

View File

@@ -1749,6 +1749,7 @@ public class Notification implements Parcelable
* Stack</a> document.
*
* @deprecated Use {@link Builder} instead.
* @removed
*/
@Deprecated
public void setLatestEventInfo(Context context,