When erasing an eSIM, verify the device screen PIN lock if one is set.
SIM PIN lock existence isn't checked anymore. Bug: 335672518 Test: b/335672518#comment6 Merged-In: Iff40c1fb9a2463311768d24d09dfc3aeeee128f9 Change-Id: Iff40c1fb9a2463311768d24d09dfc3aeeee128f9
This commit is contained in:
@@ -33,7 +33,7 @@ import androidx.fragment.app.FragmentManager;
|
||||
import com.android.settings.R;
|
||||
import com.android.settings.core.instrumentation.InstrumentedDialogFragment;
|
||||
import com.android.settings.system.ResetDashboardFragment;
|
||||
import com.android.settings.wifi.dpp.WifiDppUtils;
|
||||
import com.android.settings.network.telephony.MobileNetworkUtils;
|
||||
|
||||
public class EraseEuiccDataDialogFragment extends InstrumentedDialogFragment implements
|
||||
DialogInterface.OnClickListener {
|
||||
@@ -78,7 +78,7 @@ public class EraseEuiccDataDialogFragment extends InstrumentedDialogFragment imp
|
||||
|
||||
if (which == DialogInterface.BUTTON_POSITIVE) {
|
||||
Context context = getContext();
|
||||
WifiDppUtils.showLockScreen(context, () -> runAsyncWipe(context));
|
||||
MobileNetworkUtils.showLockScreen(context, () -> runAsyncWipe(context));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user