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

Commit 226283a5 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

am: fdcb15a7

Change-Id: Ie873607b804a5a7c3f8b7071e50eaa6db1ec8acd
parents 33ab7aed fdcb15a7
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) {