Merge "Add checks on multisim capabilities."
This commit is contained in:
committed by
Android (Google) Code Review
commit
7ebfdd9c06
@@ -1559,9 +1559,7 @@ public class RadioInfo extends Activity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static boolean isDsdsSupported() {
|
private static boolean isDsdsSupported() {
|
||||||
return PhoneConfigurationManager.getInstance().getStaticPhoneCapability()
|
return TelephonyManager.getDefault().isMultisimSupported();
|
||||||
.logicalModemList.size() >= 2
|
|
||||||
&& !TelephonyManager.getDefault().isMultisimCarrierRestricted();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private static boolean isDsdsEnabled() {
|
private static boolean isDsdsEnabled() {
|
||||||
|
Reference in New Issue
Block a user