mirror of
https://github.com/samsonjs/media.git
synced 2026-03-25 09:25:53 +00:00
Fix deprecation message
This commit is contained in:
parent
7406b78fbc
commit
b84a63d318
1 changed files with 5 additions and 2 deletions
|
|
@ -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…
Reference in a new issue