Add missing @Deprecated annotations.
Add missing @Deprecated annotations for methods with @deprecated tag
in javadoc.
Change-Id: I35b78ccb97832d86b914c21a300444ba29e33844
diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java
index 0cc44e7..3e9d409 100644
--- a/core/java/android/app/Notification.java
+++ b/core/java/android/app/Notification.java
@@ -220,6 +220,7 @@
*
* @deprecated this number is not shown anymore
*/
+ @Deprecated
public int number;
/**
@@ -487,6 +488,7 @@
*
* @deprecated Use {@link #priority} with a positive value.
*/
+ @Deprecated
public static final int FLAG_HIGH_PRIORITY = 0x00000080;
/**
@@ -2489,6 +2491,7 @@
*
* @deprecated this number is not shown anywhere anymore
*/
+ @Deprecated
public Builder setNumber(int number) {
mN.number = number;
return this;
@@ -2504,6 +2507,7 @@
* For legacy apps targeting a version below {@link android.os.Build.VERSION_CODES#N} this
* field will still show up, but the subtext will take precedence.
*/
+ @Deprecated
public Builder setContentInfo(CharSequence info) {
mN.extras.putCharSequence(EXTRA_INFO_TEXT, safeCharSequence(info));
return this;