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

Commit c81e0cb1 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "When erasing an eSIM, verify the device screen PIN lock if one is set." into 24D1-dev

parents 13463578 bcf91ee6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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));
        }
    }