Check the missing useHomeWfMode case
Bug: 133812904 Test: Build Change-Id: If89c67c0595808a1339517c6084f1d1e23f5974b Merged-In: If89c67c0595808a1339517c6084f1d1e23f5974b
This commit is contained in:
@@ -127,7 +127,7 @@ public class WifiCallingPreferenceControllerTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void updateState_nonRoaming_wfcCellularPreferred() {
|
public void updateState_wfcNonRoamingByConfig() {
|
||||||
assertNull(mController.mSimCallManager);
|
assertNull(mController.mSimCallManager);
|
||||||
mCarrierConfig.putBoolean(
|
mCarrierConfig.putBoolean(
|
||||||
CarrierConfigManager.KEY_USE_WFC_HOME_NETWORK_MODE_IN_ROAMING_NETWORK_BOOL, true);
|
CarrierConfigManager.KEY_USE_WFC_HOME_NETWORK_MODE_IN_ROAMING_NETWORK_BOOL, true);
|
||||||
@@ -147,7 +147,7 @@ public class WifiCallingPreferenceControllerTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void updateState_roaming_wfcWifiPreferred() {
|
public void updateState_wfcRoamingByConfig() {
|
||||||
assertNull(mController.mSimCallManager);
|
assertNull(mController.mSimCallManager);
|
||||||
// useWfcHomeModeForRoaming is false by default. In order to check wfc in roaming mode. We
|
// useWfcHomeModeForRoaming is false by default. In order to check wfc in roaming mode. We
|
||||||
// need the device roaming, and not using home mode in roaming network.
|
// need the device roaming, and not using home mode in roaming network.
|
||||||
|
Reference in New Issue
Block a user