Do not let SetupWizard crash in case the WiFi service is not available,
which can happen in case of devkits without built-in WiFi support.
Change-Id: Iba72e941b5e4995e865c70cb6c2b6be9a721addc
Devices with a hardware back button, such as atv remotes, can press back
on the welcome screen and trigger a transition to a waiting screen then
back to welcome. This should not be allowed.
Change-Id: I2273d0d74fb1ef018074d4facc8e3793e7470f6f
* Intentionally not touching this for secondary users
so that it doesn't look different from the main user.
* We don't explicitly support that, but let's also not
go out of our way to break something like this.
Change-Id: I374b45feb7d6dd17e5d03d0f7fbaf6d9e22f1d55
Mobile data during and after setupwizard can be controlled with:
ro.com.android.mobiledata
ro.com.android.prov_mobiledata
Change-Id: Ia4ef25f55ab32e8c13f9683b5db73438a29a192b
Seedvault backups can be restored from any OS that includes Seedvault,
they are not restricted to LineageOS.
Change-Id: Ie3d896d0377c8d2fe47558ae6a2bb54a0864498c
when a subactivity is missing the setup wizard crashes and puts the user back to the previous page
this patch allows the user to continue as if they skipped
Change-Id: Icb4937b1751d9612c32cb3012f9fc05de2640891
Use the wallpaper as part of the window background rather than trying
to replicate it with WallpaperManager. This allows us to perform a
circular hide to whatever the wallpaper currently looks like exactly,
rather than needing to obtain the wallpaper Bitmap or Drawable and
guess. Display the Finish activity edge-to-edge. Fade out rather
than slide out.
Change-Id: I1154043178a04ca0ced7e8365e338dc10f3377cb
Wait for the ACTION_FINISHED broadcast before finishing the Activity.
This prevents the Setup Wizard from being re-launched when it is still
set as the default home screen, which it continues to be until the
exit worker changes as part of its finishSetupWizard call.
Skip SetupWizardExitActivity during the normal finish process, moving
common exit operations to SetupWizardUtils.
Change-Id: I1c59553e7dcaf934fb81dce9bf901ec0f2bb7b59
Moved and refactored missingSim and its helper functions into
SetupWizardUtils, making them static. This was the only part of
PhoneMonitor that was used anymore.
Change-Id: I220e82e83bdb301206c4286b562f69c223de56e2
During restore, Settings which the user may have set earlier during setup may be overwritten. Avoid this by restoring before allowing the user to set new values
Change-Id: Id64378fb44e00da1c666cba7a737f03f9f0b88b8
Fix crash caused by attempting to unregister an unregistered broadcast receiver when the instance is registered but the broadcast receiver is not during setup finish
Change-Id: I0e85492fe5c3a273ed6a2d16fe41bdd7539ffb4b