Merge "Remove @removed method" into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
bbcf5fba1c
@@ -5,10 +5,6 @@ package android.app {
|
||||
method public deprecated void setLatestEventInfo(android.content.Context, java.lang.CharSequence, java.lang.CharSequence, android.app.PendingIntent);
|
||||
}
|
||||
|
||||
public static class Notification.Builder {
|
||||
method public deprecated android.app.Notification.Builder chooseBadgeIcon(int);
|
||||
}
|
||||
|
||||
public final class RecoverableSecurityException extends java.lang.SecurityException implements android.os.Parcelable {
|
||||
method public deprecated void showAsNotification(android.content.Context);
|
||||
}
|
||||
|
||||
@@ -5,10 +5,6 @@ package android.app {
|
||||
method public deprecated void setLatestEventInfo(android.content.Context, java.lang.CharSequence, java.lang.CharSequence, android.app.PendingIntent);
|
||||
}
|
||||
|
||||
public static class Notification.Builder {
|
||||
method public deprecated android.app.Notification.Builder chooseBadgeIcon(int);
|
||||
}
|
||||
|
||||
public final class RecoverableSecurityException extends java.lang.SecurityException implements android.os.Parcelable {
|
||||
method public deprecated void showAsNotification(android.content.Context);
|
||||
}
|
||||
|
||||
@@ -5,10 +5,6 @@ package android.app {
|
||||
method public deprecated void setLatestEventInfo(android.content.Context, java.lang.CharSequence, java.lang.CharSequence, android.app.PendingIntent);
|
||||
}
|
||||
|
||||
public static class Notification.Builder {
|
||||
method public deprecated android.app.Notification.Builder chooseBadgeIcon(int);
|
||||
}
|
||||
|
||||
public final class RecoverableSecurityException extends java.lang.SecurityException implements android.os.Parcelable {
|
||||
method public deprecated void showAsNotification(android.content.Context);
|
||||
}
|
||||
|
||||
@@ -2728,21 +2728,6 @@ public class Notification implements Parcelable
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @removed
|
||||
* Sets which icon to display as a badge for this notification.
|
||||
*
|
||||
* Must be one of {@link #BADGE_ICON_NONE}, {@link #BADGE_ICON_SMALL},
|
||||
* {@link #BADGE_ICON_LARGE}.
|
||||
*
|
||||
* Note: This value might be ignored, for launchers that don't support badge icons.
|
||||
*/
|
||||
@Deprecated
|
||||
public Builder chooseBadgeIcon(int icon) {
|
||||
mN.mBadgeIcon = icon;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets which icon to display as a badge for this notification.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user