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

Commit 94c21210 authored by Meng Wang's avatar Meng Wang Committed by android-build-merger
Browse files

Merge "setWfcSetting: set WFC mode w.r.t. roaming state" into pi-dev

am: 22ae35e3

Change-Id: Ib07f41ba7de7db3d6341c3fa34b38700401dd765
parents 30f1c201 22ae35e3
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -876,7 +876,9 @@ public class ImsManager {
        SubscriptionManager.setSubscriptionProperty(getSubId(),
                SubscriptionManager.WFC_IMS_ENABLED, booleanToPropertyString(enabled));

        setWfcNonPersistent(enabled, getWfcMode());
        TelephonyManager tm = (TelephonyManager)
                mContext.getSystemService(Context.TELEPHONY_SERVICE);
        setWfcNonPersistent(enabled, getWfcMode(tm.isNetworkRoaming(getSubId())));
    }

    /**