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
|
||||
* alternative (it was previously only operational on API ≤ 21).
|
||||
* alternative (it was previously only operational on API < 21).
|
||||
*/
|
||||
@CanIgnoreReturnValue
|
||||
@Deprecated
|
||||
@SuppressWarnings("unused")
|
||||
public MediaStyle setShowCancelButton(boolean show) {
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @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
|
||||
@Deprecated
|
||||
@SuppressWarnings("unused")
|
||||
public MediaStyle setCancelButtonIntent(PendingIntent pendingIntent) {
|
||||
return this;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user