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:
ibaker 2021-12-22 15:34:46 +00:00 committed by tonihei
parent 58db50699f
commit b63c0593b5

View File

@ -29,7 +29,7 @@ import androidx.media3.test.utils.FakeTimeline.TimelineWindowDefinition;
/** Fake {@link MediaSourceFactory} that creates a {@link FakeMediaSource}. */ /** Fake {@link MediaSourceFactory} that creates a {@link FakeMediaSource}. */
@UnstableApi @UnstableApi
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();