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

Commit 377a062b authored by Marcos Marado's avatar Marcos Marado
Browse files

Do not show phone-related stuff if there's no subs

Change-Id: Ic08a64082ef6e9040e897f2937c0e194498ccff6
parent 5544e5fc
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -307,6 +307,11 @@ public class Status extends PreferenceActivity {
                removePreferenceFromScreen(key);
            }
        } else {
            if (SubscriptionManager.getActiveSubInfoCount() == 0) {
                for (String key : PHONE_RELATED_ENTRIES) {
                    removePreferenceFromScreen(key);
                }
            }
            // NOTE "imei" is the "Device ID" since it represents
            //  the IMEI in GSM and the MEID in CDMA
            if (mPhone.getPhoneName().equals("CDMA")) {