Commit 05b69a7a by tonihei Committed by Marc Baechinger

Update initial bitrate estimates

#minor-release

PiperOrigin-RevId: 455140203
parent 9267ba3f
......@@ -36,6 +36,7 @@ import com.google.android.exoplayer2.util.NetworkTypeObserver;
import com.google.android.exoplayer2.util.Util;
import java.util.Random;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.Shadows;
......@@ -123,6 +124,7 @@ public final class DefaultBandwidthMeterTest {
/* subType= */ 0,
/* isAvailable= */ true,
CONNECTED);
setNetworkCountryIso("non-existent-country-to-force-default-values");
}
@Test
......@@ -376,6 +378,7 @@ public final class DefaultBandwidthMeterTest {
assertThat(initialEstimateFast).isGreaterThan(initialEstimateSlow);
}
@Ignore // 5G-SA isn't widespread enough yet to define a slow and fast country for testing.
@Test
@Config(minSdk = 29) // 5G-SA detection support was added in API 29.
public void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment