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

Commit 5461b1d2 authored by Michele Berionne's avatar Michele Berionne Committed by Gerrit Code Review
Browse files

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

parents cef848b5 f9a71e81
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -10301,12 +10301,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) {