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

Commit fdcb15a7 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"

am: 5461b1d2

Change-Id: Ibcd182dd24ebb5f62918e7e71d7b3f69ae845dd9
parents 391d3b7d 5461b1d2
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -10318,12 +10318,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) {