Merge "multiSimAllowed should be consistent with max active modem property." into rvc-dev am: e025fcef40 am: 8c3fee86ff am: 4dca1a242f
Change-Id: If1da283aaf338e1383abb4cda75b416a833ad8db
This commit is contained in:
committed by
Automerger Merge Worker
commit
62bf9b5cde
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user