diff --git a/library/core/src/main/java/com/google/android/exoplayer2/SimpleExoPlayer.java b/library/core/src/main/java/com/google/android/exoplayer2/SimpleExoPlayer.java index a98e3475af..67a12f05dc 100644 --- a/library/core/src/main/java/com/google/android/exoplayer2/SimpleExoPlayer.java +++ b/library/core/src/main/java/com/google/android/exoplayer2/SimpleExoPlayer.java @@ -144,7 +144,7 @@ public class SimpleExoPlayer extends BasePlayer *
This feature is not enabled by default. - * * @param handleAudioBecomingNoisy Whether the player should pause automatically when audio is * rerouted from a headset to device speakers. */ @@ -1718,10 +1716,6 @@ public class SimpleExoPlayer extends BasePlayer * playback can occur when the screen is off (e.g. background audio playback). It is not useful if * the screen will always be on during playback (e.g. foreground video playback). * - *
This feature is not enabled by default. If enabled, a WakeLock is held whenever the player - * is in the {@link #STATE_READY READY} or {@link #STATE_BUFFERING BUFFERING} states with {@code - * playWhenReady = true}. - * * @param handleWakeLock Whether the player should use a {@link android.os.PowerManager.WakeLock} * to ensure the device stays awake for playback, even when the screen is off. * @deprecated Use {@link #setWakeMode(int)} instead.