mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Mark FakeMediaSourceFactory final
There's no need to extend this class. Factories for subclasses of FakeMediaSource will need to re-implement createMediaSource, at which point they basically need to re-implement the whole factory interface. PiperOrigin-RevId: 417817499
This commit is contained in:
parent
4c343ba0fc
commit
88fe829633
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ import com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy;
|
||||||
import com.google.android.exoplayer2.util.Util;
|
import com.google.android.exoplayer2.util.Util;
|
||||||
|
|
||||||
/** Fake {@link MediaSourceFactory} that creates a {@link FakeMediaSource}. */
|
/** Fake {@link MediaSourceFactory} that creates a {@link FakeMediaSource}. */
|
||||||
public class FakeMediaSourceFactory implements MediaSourceFactory {
|
public final class FakeMediaSourceFactory implements MediaSourceFactory {
|
||||||
|
|
||||||
/** The window UID used by media sources that are created by the factory. */
|
/** The window UID used by media sources that are created by the factory. */
|
||||||
public static final Object DEFAULT_WINDOW_UID = new Object();
|
public static final Object DEFAULT_WINDOW_UID = new Object();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue