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

Commit 33e1e470 authored by Michele Berionne's avatar Michele Berionne Committed by android-build-merger
Browse files

Merge "Move the check on multisim support when switch configuration is done"...

Merge "Move the check on multisim support when switch configuration is done" am: 5461b1d2 am: fdcb15a7
am: 226283a5

Change-Id: I9a2185b8a1433b0ba15a8d7a7499b50b87ba273d
parents f7608b98 226283a5
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -10367,12 +10367,6 @@ public class TelephonyManager {
    @SuppressAutoDoc // Blocked by b/72967236 - no support for carrier privileges
    @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
    public void switchMultiSimConfig(int numOfSims) {
        //only proceed if multi-sim is not restricted
        if (!isMultisimSupported()) {
            Rlog.e(TAG, "switchMultiSimConfig not possible. It is restricted or not supported.");
            return;
        }

        try {
            ITelephony telephony = getITelephony();
            if (telephony != null) {