Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -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 {