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

Commit 39ac24df authored by Sanket Padawe's avatar Sanket Padawe Committed by Android (Google) Code Review
Browse files

Merge "Fix SimStatus crash in Settings." into mnc-dev

parents b7a1b5c3 5a3b91cd
Loading
Loading
Loading
Loading
+17 −13
Original line number Diff line number Diff line
@@ -143,7 +143,11 @@ public class SimStatus extends InstrumentedPreferenceActivity {
        // Note - missing in zaku build, be careful later...
        mSignalStrength = findPreference(KEY_SIGNAL_STRENGTH);

        if (mSelectableSubInfos == null) {
            mSir = null;
        } else {
            mSir = mSelectableSubInfos.size() > 0 ? mSelectableSubInfos.get(0) : null;

            if (mSelectableSubInfos.size() > 1) {
                setContentView(R.layout.sim_information);

@@ -160,7 +164,7 @@ public class SimStatus extends InstrumentedPreferenceActivity {
                            String.valueOf(mSelectableSubInfos.get(i).getDisplayName())));
                }
            }

        }
        updatePhoneInfos();
    }