diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 4d1ee1509d..c03ab052b7 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -88,6 +88,8 @@ * Don't propagate `AttributeSet` from `SubtitleView` constructor into `CanvasSubtitleOutput`. Just passing the `Context` is enough, and ensures programmatic changes to the `SubtitleView` will propagate down. + * Add `setUseRewindAction` and `setUseFastForwardAction` to + `PlayerNotificationManager`. * Video: * Fix `IncorrectContextUseViolation` strict mode warning on Android 11 ([#8246](https://github.com/google/ExoPlayer/pull/8246)). diff --git a/library/ui/src/main/java/com/google/android/exoplayer2/ui/PlayerNotificationManager.java b/library/ui/src/main/java/com/google/android/exoplayer2/ui/PlayerNotificationManager.java index 49f88362c9..e030efe184 100644 --- a/library/ui/src/main/java/com/google/android/exoplayer2/ui/PlayerNotificationManager.java +++ b/library/ui/src/main/java/com/google/android/exoplayer2/ui/PlayerNotificationManager.java @@ -86,26 +86,26 @@ import java.util.Map; *
  • Corresponding setter: {@link #setUsePlayPauseActions(boolean)} *
  • Default: {@code true} * - *
  • {@code rewindIncrementMs} - Sets the rewind increment. If set to zero the rewind - * action is not used. + *
  • {@code useRewindAction} - Sets whether the rewind action is used. * - *
  • {@code useRewindActionInCompactView} - Sets whether the rewind action should be - * shown in compact view mode. + *
  • {@code useRewindActionInCompactView} - If {@code useRewindAction} is {@code true}, + * sets whether the rewind action is also used in compact view (including the lock screen + * notification). Else does nothing. * - *
  • {@code fastForwardIncrementMs} - Sets the fast forward increment. If set to zero the - * fast forward action is not used. + *
  • {@code useFastForwardAction} - Sets whether the fast forward action is used. * - *
  • {@code useFastForwardActionInCompactView} - Sets whether the fast forward action - * should be shown in compact view mode. + *
  • {@code useFastForwardActionInCompactView} - If {@code useFastForwardAction} is + * {@code true}, sets whether the fast forward action is also used in compact view (including + * the lock screen notification). Else does nothing. *