Commit 5fe3ec59 by ibaker Committed by Oliver Woodman

Deprecate SimpleExoPlayer in favour of ExoPlayer

PiperOrigin-RevId: 403028279
parent 23fc1f43
......@@ -88,10 +88,8 @@ import java.util.List;
import java.util.concurrent.CopyOnWriteArraySet;
import java.util.concurrent.TimeoutException;
/**
* An {@link ExoPlayer} implementation that uses default {@link Renderer} components. Instances can
* be obtained from {@link ExoPlayer.Builder}.
*/
/** @deprecated Use {@link ExoPlayer} instead. */
@Deprecated
public class SimpleExoPlayer extends BasePlayer
implements ExoPlayer,
ExoPlayer.AudioComponent,
......
......@@ -44,6 +44,7 @@ import org.robolectric.annotation.Config;
import org.robolectric.shadows.ShadowLooper;
/** Unit test for {@link SimpleExoPlayer}. */
@SuppressWarnings("deprecation") // Testing deprecated type.
@RunWith(AndroidJUnit4.class)
public class SimpleExoPlayerTest {
......
......@@ -37,6 +37,7 @@ import com.google.android.exoplayer2.util.Clock;
import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
/** A builder of {@link SimpleExoPlayer} instances for testing. */
@SuppressWarnings("deprecation") // Returning deprecated type for backwards compatibility.
public class TestExoPlayerBuilder {
private final Context context;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment