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

Commit 2d7d1740 authored by Xiangyu/Malcolm Chen's avatar Xiangyu/Malcolm Chen Committed by Automerger Merge Worker
Browse files

Merge "multiSimAllowed should be consistent with max active modem property."...

Merge "multiSimAllowed should be consistent with max active modem property." into rvc-dev am: e025fcef am: 8c3fee86 am: 4dca1a24 am: 62bf9b5c

Change-Id: I332a0e7e1b1fd7907ad7b185be8d1f5c7b29ff25
parents 311126bc 62bf9b5c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -12328,6 +12328,9 @@ public class TelephonyManager {
    @RequiresPermission(android.Manifest.permission.READ_PHONE_STATE)
    @IsMultiSimSupportedResult
    public int isMultiSimSupported() {
        if (getSupportedModemCount() < 2) {
            return TelephonyManager.MULTISIM_NOT_SUPPORTED_BY_HARDWARE;
        }
        try {
            ITelephony service = getITelephony();
            if (service != null) {