Fix improper SIM Missing automatic navigation

* Properly allow the user to go backwards to prior to the SIM Missing
  page, if it had ever appeared and then a SIM became available.
* Ignore the activity result. Wizard remains on SIM Missing page until
  user chooses to leave or returns to wizard with SIM present.

Change-Id: I3edac6cbb03d76c66b04673d6104e98189ce365c
This commit is contained in:
Oliver Scott
2024-04-12 15:35:22 -04:00
committed by Michael Bestas
parent 8792be5031
commit 12c7da294f
2 changed files with 35 additions and 8 deletions

View File

@@ -264,7 +264,7 @@ public class SetupWizardUtils {
} else {
disableComponent(context, ScreenLockActivity.class);
}
if (!hasTelephony(context) || !simMissing(context)) {
if (!hasTelephony(context)) {
disableComponent(context, SimMissingActivity.class);
}
if ((!hasWifi(context) && !hasTelephony(context)) ||