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

Commit 4dca1a24 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

Change-Id: I927e587aad3bc7dcb64dba87610e5ac3255831bc
parents b76f7ee5 8c3fee86
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -12346,6 +12346,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) {