Merge "Update test to not assume 2 max SIMs"

am: bd9ff62138

Change-Id: I29f94cf764209d8325c29ed8ea9c1d73a34194b7
This commit is contained in:
Jordan Liu
2020-01-27 12:29:19 -08:00
committed by android-build-merger

View File

@@ -366,12 +366,8 @@ public final class Telecom extends BaseCommand {
}
private void runGetMaxPhones() throws RemoteException {
// This assumes the max number of SIMs is 2, which it currently is
if (TelephonyManager.MULTISIM_ALLOWED == mTelephonyManager.isMultiSimSupported()) {
System.out.println("2");
} else {
System.out.println("1");
}
// how many logical modems can be potentially active simultaneously
System.out.println(mTelephonyManager.getSupportedModemCount());
}
private void runSetEmergencyPhoneAccountPackageFilter() throws RemoteException {