mirror of
https://github.com/samsonjs/media.git
synced 2026-03-25 09:25:53 +00:00
Make HttpDataSourceTestEnv require API 19
PiperOrigin-RevId: 454945333
(cherry picked from commit 7f89531c5b)
This commit is contained in:
parent
e3e92b2448
commit
676f766e39
1 changed files with 2 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ package androidx.media3.test.utils;
|
|||
import static androidx.media3.test.utils.WebServerDispatcher.getRequestPath;
|
||||
|
||||
import android.net.Uri;
|
||||
import androidx.annotation.RequiresApi;
|
||||
import androidx.media3.common.util.UnstableApi;
|
||||
import androidx.media3.datasource.HttpDataSource;
|
||||
import com.google.common.collect.ImmutableList;
|
||||
|
|
@ -31,6 +32,7 @@ import org.junit.Rule;
|
|||
import org.junit.rules.ExternalResource;
|
||||
|
||||
/** A JUnit {@link Rule} that creates test resources for {@link HttpDataSource} contract tests. */
|
||||
@RequiresApi(19)
|
||||
@UnstableApi
|
||||
public class HttpDataSourceTestEnv extends ExternalResource {
|
||||
private static int seed = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue