[go: nahoru, domu]

Skip to content

Commit

Permalink
Make HttpDataSourceTestEnv require API 19
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 454945333
(cherry picked from commit 7f89531)
  • Loading branch information
marcbaechinger committed Jun 15, 2022
1 parent e3e92b2 commit 676f766
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
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;
Expand All @@ -31,6 +32,7 @@
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;
Expand Down

0 comments on commit 676f766

Please sign in to comment.