Merge "When erasing an eSIM, verify the device screen PIN lock if one is set." into main

This commit is contained in:
Treehugger Robot
2024-04-26 21:27:38 +00:00
committed by Android (Google) Code Review

View File

@@ -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));
}
}