Fix deprecation message
This commit is contained in:
parent
7406b78fbc
commit
b84a63d318
@ -137,19 +137,22 @@ public class MediaStyleNotificationHelper {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated This method is a no-op and usages can be safely removed. There is no recommended
|
* @deprecated This method is a no-op and usages can be safely removed. There is no recommended
|
||||||
* alternative (it was previously only operational on API ≤ 21).
|
* alternative (it was previously only operational on API < 21).
|
||||||
*/
|
*/
|
||||||
@CanIgnoreReturnValue
|
@CanIgnoreReturnValue
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
@SuppressWarnings("unused")
|
||||||
public MediaStyle setShowCancelButton(boolean show) {
|
public MediaStyle setShowCancelButton(boolean show) {
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated This method is a no-op and usages can be safely removed. There is no recommended
|
* @deprecated This method is a no-op and usages can be safely removed. There is no recommended
|
||||||
* alternative (it was previously only operational on API ≤ 21).
|
* alternative (it was previously only operational on API < 21).
|
||||||
*/
|
*/
|
||||||
@CanIgnoreReturnValue
|
@CanIgnoreReturnValue
|
||||||
|
@Deprecated
|
||||||
|
@SuppressWarnings("unused")
|
||||||
public MediaStyle setCancelButtonIntent(PendingIntent pendingIntent) {
|
public MediaStyle setCancelButtonIntent(PendingIntent pendingIntent) {
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user