Merge "Close and disable SIM lock dialogs when SIM removed from device." into rvc-dev am: 5c7f6d1b98
am: 8e8386c677
Change-Id: I93ec678c89b048896e23a98a18cb33615b68b364
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user