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

Commit 5c7f6d1b authored by Grace Jia's avatar Grace Jia Committed by Android (Google) Code Review
Browse files

Merge "Close and disable SIM lock dialogs when SIM removed from device." into rvc-dev

parents f3ad1ec7 f203a66a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -301,6 +301,9 @@ public class IccLockSettings extends SettingsPreferenceFragment

        if (mPinDialog != null) {
            mPinDialog.setEnabled(sir != null);
            if (mSubId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) {
                mPinDialog.getDialog().dismiss();
            }
        }
        if (mPinToggle != null) {
            mPinToggle.setEnabled(sir != null);