Deprecate SimpleExoPlayer in favour of ExoPlayer
PiperOrigin-RevId: 403028279
This commit is contained in:
parent
23fc1f4384
commit
5fe3ec59ca
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user