Fix deprecation message

This commit is contained in:
Gaëtan Muller 2024-07-15 11:52:32 +02:00 committed by Ian Baker
parent 7406b78fbc
commit b84a63d318

View File

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