Merge "Update test to not assume 2 max SIMs"
This commit is contained in:
@@ -366,12 +366,8 @@ public final class Telecom extends BaseCommand {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void runGetMaxPhones() throws RemoteException {
|
private void runGetMaxPhones() throws RemoteException {
|
||||||
// This assumes the max number of SIMs is 2, which it currently is
|
// how many logical modems can be potentially active simultaneously
|
||||||
if (TelephonyManager.MULTISIM_ALLOWED == mTelephonyManager.isMultiSimSupported()) {
|
System.out.println(mTelephonyManager.getSupportedModemCount());
|
||||||
System.out.println("2");
|
|
||||||
} else {
|
|
||||||
System.out.println("1");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void runSetEmergencyPhoneAccountPackageFilter() throws RemoteException {
|
private void runSetEmergencyPhoneAccountPackageFilter() throws RemoteException {
|
||||||
|
|||||||
Reference in New Issue
Block a user