Merge "Remove @removed method" into oc-dev

This commit is contained in:
TreeHugger Robot
2017-04-17 15:01:46 +00:00
committed by Android (Google) Code Review
4 changed files with 0 additions and 27 deletions

View File

@@ -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);
}

View File

@@ -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);
}

View File

@@ -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);
}

View File

@@ -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.
*