Commit 039e1025 by tonihei Committed by Marc Baechinger

Update initial bitrate estimates

#minor-release

PiperOrigin-RevId: 455140203
(cherry picked from commit 646bf565)
parent 5ebc07ce
......@@ -38,6 +38,7 @@ import androidx.test.core.app.ApplicationProvider;
import androidx.test.ext.junit.runners.AndroidJUnit4;
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;
......@@ -125,6 +126,7 @@ public final class DefaultBandwidthMeterTest {
/* subType= */ 0,
/* isAvailable= */ true,
CONNECTED);
setNetworkCountryIso("non-existent-country-to-force-default-values");
}
@Test
......@@ -378,6 +380,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