Skip to content
Snippets Groups Projects
Commit c0673e9c authored by Jordan Liu's avatar Jordan Liu
Browse files

Update test to not assume 2 max SIMs

Bug: 145710242
Test: passes existing tests
Change-Id: I6546acb58a25d161634986348e7122e12c2b7c04
parent 0ab00030
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment