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

Commit 62bf9b5c 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

Change-Id: If1da283aaf338e1383abb4cda75b416a833ad8db
parents bbda44e3 4dca1a24
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) {