Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4740d875 authored by Brad Ebinger's avatar Brad Ebinger Committed by android-build-merger
Browse files

Merge "Update tests to ensure WFC mode is set correctly in roaming" into pi-dev

am: 917a49ea

Change-Id: Ide3911f043d5eda6380210dec513d259312fc646
parents 104ebaf3 917a49ea
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -313,10 +313,11 @@ public class ImsManagerTest extends TelephonyTest {
        doReturn(true).when(mTelephonyManager).isNetworkRoaming(eq(mSubId[0]));
        // Turn on WFC
        imsManager.setWfcSetting(true);
        // Roaming mode (WIFI_PREFERRED) should be set. With 1000 ms timeout.
        // User defined setting for Roaming mode (WIFI_ONLY) should be set independent of whether or
        // not WFC mode is editable. With 1000 ms timeout.
        verify(mImsConfigImplBaseMock, timeout(1000)).setConfig(
                eq(ImsConfig.ConfigConstants.VOICE_OVER_WIFI_MODE),
                eq(WFC_IMS_ROAMING_MODE_DEFAULT_VAL));
                eq(ImsConfig.WfcModeFeatureValueConstants.WIFI_ONLY));

        // Not roaming
        doReturn(false).when(mTelephonyManager).isNetworkRoaming(eq(mSubId[0]));