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

Commit af47bf57 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Modify getSimCount api to get the sim count dynamically."

parents 1c6d9d68 06b05f66
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -3383,13 +3383,7 @@ public class TelephonyManager {

    /** @hide */
    public int getSimCount() {
        // FIXME Need to get it from Telephony Dev Controller when that gets implemented!
        // and then this method shouldn't be used at all!
        if(isMultiSimEnabled()) {
            return 2;
        } else {
            return 1;
        }
        return getPhoneCount();
    }

    /**