Commit Graph

56 Commits

Author SHA1 Message Date
Joey Rizzoli d1331884a1 SetupWizard: rebrand to LineageOS
* Rebrand UI
* Add privacy guard to setup
* Disable Cyngn inc MOD platform and account setup
* Make privacy policy view-able again

Change-Id: Iacd60886992ca72d3f75bb21a905d612432751fc
Signed-off-by: Joey Rizzoli <joey@lineageos.it>
2017-01-14 18:36:57 -08:00
Luis Mejia b31e14b835 Replaced last panel with ModGuide panel.
- Created and added ModGuide panel.
- Added the ability to chnage navigation color.
- Added the ability to start an app after wizard completion.

Issue-Id: MSC-14
Change-Id: I8e17735d1a9edbd529339982981f8270cde83d96
2016-07-14 19:27:13 -07:00
Bharadwaj Narasimha 10a58d25fd SetupWizard: Handle ActivityNotFoundException in LoadingFragment
Handle the possibly thrown ActivityNotFoundException.Changed the generic catch block into a specific catch block to handle ActivityNotFoundException.

Change-Id: Ica1106bab3e569aaa7883898ce6adb3a1a2dd99f
2016-07-08 11:03:14 -07:00
cretin45 8109277755 SetupWizard: Ensure compliance with GMS TOS
* Launches GMS TOS per documentation
* Filters out redundant location page if GMS present
* Uses setupwizardlib for some helper functions
* Hide notification icons

Issue-id: CYNGNOS-2599

Change-Id: I4b59592f0b84d0eb0eafe365eab3bad77c1f76ff
2016-04-27 10:35:48 -07:00
cretin45 941aa1e1e2 SetupWizard: Handle register theme change listener crash
Issue-id: FEIJ-84

Change-Id: I8ffca77418702f04328ae7d0581ab8cc316a04e8
2016-04-26 11:15:48 -07:00
Roman Birg fccccda787 SetupWizard: add a CM-specific setup-complete settings key
Android uses Settings.Global.DEVICE_PROVISIONED and
Settings.Secure.USER_SETUP_COMPLETE and the system responds to those
database entries, such as allowing the keyguard to be visible, or maybe
pulling the statusbar down.

Since we still depend on some of Google's setup wizard, it also keys off
the same table rows and it may decide that the device is now provisioned
when we still haven't finished our own setup wizard, so let's add
another key that we have control over to show the real state of OUR
setup wizard.

Ticket: CYNGNOS-2431

Change-Id: Ic21689625f6d80e209161762ace741918b972aba
Signed-off-by: Roman Birg <roman@cyngn.com>
2016-04-22 08:29:40 -07:00
Adnan Begovic 4da02b0881 SetupWizard: Update for themes api changes.
Change-Id: I8d97d43f655bcdc32e5d94d7c844fe1b64919898
TICKET: CYNGNOS-2295
2016-03-25 10:56:27 -07:00
Adnan Begovic 57080c360c SetupWizard: Restore last page on setup wizard death.
Since the restore process (or any external setup wizard
  process) can take a long time to finish execution, save
  the current page and restore it on recreation when necessary.

Change-Id: I575cf58047eb307c95408a0955dd7e5b50a62107
TICKET: CYNGNOS-2233
2016-03-17 14:04:25 -07:00
d34d 8104310592 Themes: Refactor themes to CMSDK [6/6]
Change-Id: I26214e9a71f4d2f5f1b61cf3cabdcdb8bcc098b1
TICKET: CYNGNOS-2126
2016-03-01 09:58:55 -08:00
cretin45 1b1b991da5 SetupWizard: Ensure UI doesn't show when user is guest
Issue-id: CYNGNOS-1736

Change-Id: Ibcd85ca3f90a6ab35a3ae6da622f59786ddcbcd3
2016-02-01 15:23:19 -08:00
d34d 06aa3eb165 Themes: Re-enable applying theme in OOBE
Change-Id: I0b027bff18c3b33fc0a925ee756766ed31740b35
TICKET: OPO-361
2016-01-28 08:04:18 -08:00
cretin45 1141611f91 SetupWizard: Don't disable packages on main thread
Issue-id: YAM-69

Change-Id: I81ea039a7444d3db5d97b1d798bffe9a6b8ec498
2016-01-12 14:47:32 -08:00
cretin45 b64d5e7676 SetupWizard: Fix locale picker styling
Change-Id: If336a8321b09513ec8b22f8138a47fb4d94e5913
2015-10-27 12:44:11 -07:00
Adnan Begovic 307e587a3a SetupWizard: Temporary compile fixes.
Change-Id: Iffdbb3b38aef75f14dcb0957df8dda13f844159b
2015-10-15 15:18:58 -07:00
cretin45 62db452188 SetupWizard: Wait for data sim change
When changing the default data sim for msim, disable the next action until the operation completes.
This PS also refactors how the wait for radio logic a bit.

CRACKLING-503

Change-Id: I38ba3ea00f63d3e42c260e5b0e8558c3bc9d347f
2015-08-18 16:43:34 -07:00
Ethan Chen ee89d29fb4 Clarify touch event consumption logic
* Make it clear that both onInterceptTouchEvent and onTouchEvent need to
  occur.

Change-Id: I951a470ad073f85a9a006c7f440872839d26cd26
2015-06-30 09:41:22 -07:00
cretin45 714be1a490 SetupWizard: Aggressively hide nav bar on soft key devices
Change-Id: Ic23fd7e605a323411fe2f581235ff3ed45bfcaed
(cherry picked from commit 1d7988a4c78aa8a4c768e8ddb8e0ced2c8f8c530)
2015-04-09 20:35:42 +00:00
cretin45 317a15e0eb SetupWizard: Ensure page object isn't null if FM destroyed
Change-Id: Ia794e7656587ca803d02418d3d84d4df5027cd00
(cherry picked from commit 62b79e38809699edf47f8a4fad16fdf706ceaa5e)
2015-04-09 20:35:15 +00:00
cretin45 6d63e95342 SetupWizard: Handle all touch events in EnableAccessibilityController
Change-Id: Icf15be21c90d32305a9c1f8b9835eb473acf1f33
(cherry picked from commit 0fde3a04cc62396b524aadb6a1a30f573a4b1b38)
2015-04-09 20:34:18 +00:00
cretin45 27457414c8 SetupWizard: Lock orientation prior to finish animation
Change-Id: I43a69937e2deb5f55585522fe5d00c51ffdae569
(cherry picked from commit c8e4c29020cb3acd8a8676bf1c60aad82e58888c)
2015-04-01 02:04:23 +00:00
cretin45 d0389e4e6e SetupWizard: Fix regression, only init pages once
Change-Id: I1207cb3975daa752a66eb8e9e40635f9a8009509
(cherry picked from commit 83be05d6ecf435be562f397e98e0ad61e5974ecd)
2015-04-01 02:01:32 +00:00
cretin45 dbc1ceb8ca SetupWizard: Better handling of launching into other activities
Change-Id: I4d8dc4a1b25e45c6ff35042239a0adf4c16458f1
(cherry picked from commit ed5d46703ea6aac1c912be114523688f3f8219e8)
2015-04-01 01:59:25 +00:00
cretin45 bfde63c27c SetupWizard: #blamethemes
Themes keep breaking the handle themeConfig flag. This provides a workaround for cases the activity gets torn down during the finish process.

Change-Id: I6664ded3dfff5b69c1217f89f25106953cb5f92a
2015-03-13 16:18:24 -07:00
cretin45 0d31b31aac SetupWizard: Refactor for better transitions out of OOBE
Change-Id: If91da3f44dbc5383236b54da529953d48a475250
2015-03-09 14:49:31 -07:00
cretin45 7c8e091320 SetupWizard: Fix race condition on finish
Change-Id: Ie4a5893c49db7ce9622091e05776cb5523ed5c45
2015-03-06 14:01:53 -08:00
cretin45 226687c0b2 SetupWizard: Make sure we have this activities themechange listener
Change-Id: Iae69f1d7df2b3c032a187eda3593ea83fe0d9196
2015-03-05 13:58:01 -08:00
cretin45 ef4cd78d5f SetupWizard: Add metrics for internal builds that ship with CMStats
Change-Id: Id932a105c18332e32605530d1502ff99b7cf380a
2015-03-04 13:08:00 -08:00
cretin45 c9c13f20c9 SetupWizard: Add callback for actions to run post finish
Change-Id: Ifa62c94f61afbe33a97a66dc0acb72e303023579
2015-03-03 12:31:16 -08:00
cretin45 4e192fd22b SetupWizard: Darken the button bar text
Change-Id: Ie56d4726c6191f603b15bcc112c8b2bdabd53fc5
2015-03-03 12:07:31 -08:00
cretin45 01f21da16b SetupWizard: Add option to apply default theme if one exists
* A bunch of code cleanup/refactoring to make this work

Change-Id: I059fb5fa5bcd7dd8821e993218a320554f10a314
2015-02-25 14:59:06 -08:00
cretin45 d385c7e906 SetupWizard: Fix race conditions with async callbacks
Change-Id: Ifeeec3ac74b4644bb26b9f90d0159a64b173785b
2015-02-23 15:58:21 -08:00
cretin45 d7e70040b7 SetupWizard: Refactor context type
Context is assumed to be SetupWizardActivity and blindly cast. Just make the Context reference a SetupWizardActivity.

Change-Id: I3d7ffd08980fbff0fbea51b45b28002b49813038
2015-02-23 14:33:07 -08:00
cretin45 822c7ec5f8 SetupWizard: Remove accessibilty geture check
Change-Id: I6cee55773405cc057f0b1e343c93b9f1588666a4
2015-02-23 13:13:22 -08:00
cretin45 e001f975db SetupWizard: Add captive portal check
Change-Id: I990b3d5c67fa9ba54e7e834b42a11a93133646d9
2015-02-19 13:01:28 -08:00
cretin45 c330e50723 SetupWizard: Don't crash on upgrade from 11
There is no need to have an original package as there is no data to persist.

Change-Id: Ibfa2be22cb20e5c8a93dd2646da0e4f1db2f89ef
2015-02-18 12:14:01 -08:00
cretin45 79840ecb4e SetupWizard: Fix scenario where GMS setup disables its components
Change-Id: Ia8edd39645f83625ff06fb61903b672b774257d6
2015-02-17 17:09:32 -08:00
cretin45 77c129f8b9 SetupWizard: Fix regression setting UI flags with onscreen keys
Change-Id: I9fbbf4368ebe8faabbe4d66b5cacbf9ee2f3be36
2015-02-17 11:00:08 -08:00
cretin45 9d72db9dbe SetupWizard: Reveal the default wallpaper on oobe finish
Change-Id: I68a256853f256af3464da7eba57a307a810d80cd
2015-02-16 16:52:06 -08:00
cretin45 aaec6f7e3e SetupWizard: Cleanup end animation
Change-Id: Ie941b426b57dc39d18632ac4a68bb0c3526385fc
2015-02-13 15:26:54 -08:00
cretin45 86837945e9 SetupWizard: Add helpers for multiuser
Change-Id: I37345661e451523ccc571069646054071381358d
2015-02-10 12:30:45 -08:00
cretin45 b168a71af0 SetupWizard: Don't broadcast finished if guest user
Change-Id: Id30a52902444769ea48db4cbbd039d31d2abe5d6
2015-02-06 13:00:30 -08:00
cretin45 17c2db964e SetupWizard: Don't show wizard for guest account
Change-Id: Ie03e22bcbd035b47b55a9774b9e6fc21d407291b
2015-02-04 16:50:37 -08:00
cretin45 508cfbb0f3 SetupWizard: Fix AccessibilityController regression and service leak
Change-Id: Ic8e419792d2468b937feb08d6678608c936d9f98
2015-02-04 14:00:52 -08:00
cretin45 8ef130516c SetupWizard: Fix some navigation bar issues
Change-Id: Ifb75247001541a272dd00cdf129b2ea706a2a69e
2015-01-30 13:59:25 -08:00
cretin45 a96968d996 SetupWizard: Let cyanogen settings page handle finish action
Change-Id: I84e383cb3db7ef32c6097e6b1912d71a5eafb4c4
2015-01-30 10:55:05 -08:00
cretin45 106a127508 SetupWizard: Add receivers for sim state and time
Change-Id: I8d44623e898eaa175d69d682c8089caa1a58f287
2015-01-29 17:40:05 -08:00
cretin45 c3d44b4b83 SetupWizard: Move fragment to correct package
Change-Id: I5cf3a876f2574cbf2160715f972101f274c27c23
2015-01-28 21:35:42 -08:00
cretin45 031e58ebc4 SetupWizard: Move reveal finish animation up to activity
Change-Id: I983cfcfad3fcd9808442917bb8b4ae7f8a8d7c2b
2015-01-27 15:23:16 -08:00
cretin45 d842eed420 SetupWizard: Forward port accessibility
Change-Id: I04e5e02bfb94b9a6c6b6a0e95f1059a710075528
2015-01-27 11:10:09 -08:00
cretin45 202f9273e0 SetupWizard: Don't run wizard if user_setup_complete is set
Change-Id: I2e97ecb4fa0458b117e0250595306706245c9c67
2015-01-26 16:24:05 -08:00