Commit Graph

11 Commits

Author SHA1 Message Date
Oliver Scott
ecaeda6224 Simplify exit code
Change-Id: Ied4a7cb143ef979fd70da81cda6472f85e750739
2024-05-18 12:27:11 +03:00
Michael Bestas
ec05005cfe SetupWizard: Make it REUSE compliant
* Ignored all the strings.xml since they are auto-synced

Change-Id: I5d9e7aa5ae7b0079f792450f7e6dbf83216ebac4
2024-02-26 00:25:43 +02:00
Oliver Scott
7664461e5f Reformat code
Run automated code reformatting in Android Studio and manually fix
unwanted/broken style changes

Change-Id: Iaf14a08a275f9b11e1ae17f69201ab61a9c6ade1
2024-02-26 00:22:02 +02:00
Tommy Webb
63bbec0258 Only finish Setup Wizard Activity when fully done
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
2024-02-26 00:19:22 +02:00
Oliver Scott
f515276ebd Launch restore step early
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
2024-02-25 23:45:38 +02:00
Oliver Scott
554f63530a SetupWizard: Add step for changing theme
Change-Id: Ib28e752583926e9740dd7e954d208d4fe62e3c08
2024-02-25 23:45:37 +02:00
Tommy Webb
344e6b8aea Add navigation settings step for secondary users
Change-Id: Idae1fefe81aafb6a70b86dff60beb67852fe55c5
2023-07-13 15:07:08 +02:00
Oliver Scott
7ad1585886 Enable biometric and lockscreen steps for secondary users
Change-Id: I9972cfab77038a8ba13ec064fce6f719bd2cad3d
2023-07-13 15:07:08 +02:00
Chirayu Desai
6059326b6d Add some pages to the user wizard script
Change-Id: Ib555ea6fa97c8542bf65b80aefcaf6cb4f4a489d
2023-06-06 22:10:00 +02:00
Michael Bestas
c83309e963 SUW: rebrand step 2: update file contents
Change-Id: Ic04f03f82242608960bd6d9c4c2561c2bbdda1da
2018-02-05 15:55:31 -08:00
Michael Bestas
fbae0863a6 SUW: rebrand step 1: update paths
Change-Id: Ic63e83de56659750a9d75fe577187c0d9f25147f
2018-02-05 15:55:24 -08:00