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
It's missing the EUICC toggle and makes SUW crash. Just remove it since
it's the only landscape layout and not really required.
Change-Id: Ie6c8485a91a1b428d83cbb086be1bf19ec8411e2
The user won't see our location page, which ends up disabling AGPS
by default with no way to toggle it and without the user knowing,
leading to poor GPS performance.
Change-Id: I90de4a061a244c9da9eaca020e3b411c62da0e3e
Previously a call to mark user setup as completed for managed profiles
was removed from the device policy manager service to avoid exiting the
setup wizard while launching it after successfully provisioning.
If a the setup wizard did not finish correctly it had side effects
(e.g. work profile apps would not remain in recent activities).
Allow managed profiles to launch the setup wizard even if user setup
is marked as completed.
Issue: calyxos#1024
Issue: calyxos#1123
Change-Id: I940937dd02f2d4991677da886bb3a4f522661210
Captive portal, wi-fi and mobile data should not be modified for secondary users without user intervention
Issue: calyxos#1025
Change-Id: Ic24d18268d05b5a1535b3993bdd0a614055847f6