Enable TETHER_FORCE_RANDOM_PREFIX_BASE_SELECTION by default
Since the feature was fully rolled out via experiment without regression, this commit replaced with a kill switch. Flag: EXEMPT refactor Test: atest ConnectivityCoverageTests:PrivateAddressCoordinatorTest Fix: 312647670 Fix: 406955982 Change-Id: I18adcca45fa5f698adc80cea044d8006de097977
This commit is contained in:
parent
121a4f90ba
commit
db75d68801
2 changed files with 10 additions and 8 deletions
|
|
@ -325,7 +325,8 @@ public final class PrivateAddressCoordinatorTest {
|
|||
|
||||
@Test
|
||||
public void testStartedPrefixRange() throws Exception {
|
||||
when(mDeps.isFeatureEnabled(TETHER_FORCE_RANDOM_PREFIX_BASE_SELECTION)).thenReturn(true);
|
||||
when(mDeps.isFeatureNotChickenedOut(TETHER_FORCE_RANDOM_PREFIX_BASE_SELECTION))
|
||||
.thenReturn(true);
|
||||
|
||||
startedPrefixBaseTest("192.168.0.0/16", 0);
|
||||
|
||||
|
|
|
|||
|
|
@ -538,8 +538,8 @@ public class TetheringTest {
|
|||
public RoutingCoordinatorManager getRoutingCoordinator(
|
||||
final Context context, SharedLog log) {
|
||||
ConnectivityManager cm = context.getSystemService(ConnectivityManager.class);
|
||||
when(mPrivateAddressCoordinatorDependencies.isFeatureEnabled(anyString()))
|
||||
.thenReturn(false);
|
||||
when(mPrivateAddressCoordinatorDependencies.isFeatureNotChickenedOut(anyString()))
|
||||
.thenReturn(true);
|
||||
RoutingCoordinatorService service = new RoutingCoordinatorService(
|
||||
getINetd(context, log),
|
||||
cm::getAllNetworks,
|
||||
|
|
|
|||
Loading…
Reference in a new issue