Add checks on multisim capabilities.
Rename method isMultisimCarrierRestricted to isMultisimSupported to indicate extended scope that includes checks on the capabilities of the hardware to support multi-SIM configuration. Bug: 123537730 Test: Compilation, test application Change-Id: I39954476a9a8fad791892a65d2c47aa23be75053
This commit is contained in:
@@ -1559,9 +1559,7 @@ public class RadioInfo extends Activity {
|
||||
}
|
||||
|
||||
private static boolean isDsdsSupported() {
|
||||
return PhoneConfigurationManager.getInstance().getStaticPhoneCapability()
|
||||
.logicalModemList.size() >= 2
|
||||
&& !TelephonyManager.getDefault().isMultisimCarrierRestricted();
|
||||
return TelephonyManager.getDefault().isMultisimSupported();
|
||||
}
|
||||
|
||||
private static boolean isDsdsEnabled() {
|
||||
|
Reference in New Issue
Block a user