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

Commit bd9ff621 authored by Jordan Liu's avatar Jordan Liu Committed by Gerrit Code Review
Browse files

Merge "Update test to not assume 2 max SIMs"

parents e86be6d4 c0673e9c
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 {