Commit Graph

38 Commits

Author SHA1 Message Date
Marvin W 4ab4cb96b7 Remove Google Play Services dependency
PS2: inline hasGms usage, don't use addprefix for a single entry,
     remove unused imports

Change-Id: I1eb1fb76e4b80e26992599e3511d265abbfa1cd7
2017-02-18 11:38:01 +08:00
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
Diogo Ferreira 65d6ac1299 SetupWizard: Don't show wifi setup on wifi-less devices
Altough uncommon, development boards and emulators don't have a wireless
interface. In those cases, don't show the wireless setup page.

Change-Id: I0017b2277defdccf7f0bd61cb9606254509f78cc
2017-01-14 18:33:13 -08:00
cretin45 635504813a SetupWizard: Add Mod disovery language for mod ready devices
Issue-id: CYNGNOS-2566

Change-Id: If88d2d62b5d2175ffe857d45dd9f6ce132129f2a
2016-04-27 12:39:52 -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
Zdrowy Gosciu 13539517cf SetupWizard: Remove useless WhisperPushUtils
WISP-41

Change-Id: Ia93d9f9d5d1b2f4d2613491e203451247ca9b474
Signed-off-by: Zdrowy Gosciu <ZdrowyGosciu+GITHUB@gmail.com>
(cherry picked from commit 9710862296c94cd6d9b5d16f146e9fb4ec899009)
2016-02-02 07:44:35 -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
Matt Mower 7ab7f3c6d9 SetupWizard: Conditionally run account setup
If the package defined by cm_account_type (which can be overlayed)
exists, then add CyanogenSettingsPage. Otherwise, omit.

PS3: On the cyngn side, the account type and package name don't match. Added a new string to overlay.

Change-Id: I15e032e21281aaf51ca32ac9cc0861e033201f19
2015-12-21 14:07:11 -08:00
Adnan Begovic 307e587a3a SetupWizard: Temporary compile fixes.
Change-Id: Iffdbb3b38aef75f14dcb0957df8dda13f844159b
2015-10-15 15:18:58 -07:00
cretin45 97c37bef11 SetupWizard: Check for frp in finish receiver
CYNGNOS-886

Change-Id: I97af3285d9321f2f153676eaac081e5408300661
2015-09-01 16:32:48 -07:00
d34d b28f9c0a76 Enroll fingerprint via SetupWizard [2/2]
Change-Id: Ieabfb0f3b789b02ddd1e17aba1eadfda52b21384
2015-07-10 10:34:48 -07:00
cretin45 c5e926d67f SetupWizard: Add hook to finish setup for CTS automation
Change-Id: Ifd7edda671fd8011a9b9ed894333c292cd0c3331
2015-06-17 13:56:09 -07:00
cretin45 7710855b72 SetupWizard: Add kill switch implementation
Change-Id: I1335cddf0dcc94eb8d2defeebdc47cb61abffd06
2015-05-08 11:44:34 -07:00
cretin45 9dd952e3f6 SetupWizard: Increase delay for accessibility
Change-Id: Ifff7161f95e91ec7763f388206cd1d30804ad600
2015-05-01 13:14:03 -07:00
dhacker29 218deb9952 If this is a TV device launch bluetooth pairing before Welcome page
TV devices like fugu don't have a default input method and expect to
be able to pair the bluetooth remote during setup without having to
manually initiate it with the bottom button on the device.

Change-Id: I88246fe9b28a85dc334c0108b818e78cb29491bb
2015-04-24 01:32:19 -04:00
dhacker29 de06181c7e WifiSetup: If device has Leanback feature specify tv.settings
Fugu has both com.android.settings and com.android.tv.settings so
currently it brings up a selector dialog for how to handle the wifi
intent, which leads to "Activity is launching as a new task, so
cancelling activity result." Fix this by passing the component name
in the intent if FEATURE_LEANBACK is present

Change-Id: I470590315d3f95a32b7796dd4a916a543392fcd6
2015-04-23 02:31:51 -04:00
Pawit Pornkitprasan dd500a1f42 SetupWizard: don't access SubscriptionController directly
SubscriptionController exists in the telephony process and cannot
be accessed by SetupWizard.

getInstance() will always return null.

Change-Id: I017682d3aad539e1954348664b1c1fec7f76009d
2015-04-20 15:53:19 -07:00
cretin45 f654deb217 SetupWizard: Give radio a 10 second chance to come up
Change-Id: Iadd817b200106783dd67edbc5ad03928ce2baa6b
2015-04-17 03:44:08 +03:00
cretin45 bfd7ca0545 Setupwizard: Make sure to advance if GMS is absent
Change-Id: Ia0c4d83c9a9f7c581208d753024f55f48326afc7
(cherry picked from commit cb09e29e29e64032fba5cfd47e71c4db38b32f20)
2015-04-09 20:36:04 +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 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
Roman Birg 98b5eb9958 SetupWizard: don't crash without SIMs
SubscriptionManager may be null

Change-Id: Ia2112044400576a93931474a3fff2af161ccda21
Signed-off-by: Roman Birg <roman@cyngn.com>
2015-03-26 03:44:35 -07:00
Steve Kondik c225cd58f7 setupwizard: Adapt to MR1 multisim APIs
Change-Id: Icb5bad076fe5a5e8a26befc5bedd04981c374117
2015-03-22 17:18:31 -07:00
cretin45 0d31b31aac SetupWizard: Refactor for better transitions out of OOBE
Change-Id: If91da3f44dbc5383236b54da529953d48a475250
2015-03-09 14:49:31 -07: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 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 79840ecb4e SetupWizard: Fix scenario where GMS setup disables its components
Change-Id: Ia8edd39645f83625ff06fb61903b672b774257d6
2015-02-17 17:09:32 -08:00
cretin45 86837945e9 SetupWizard: Add helpers for multiuser
Change-Id: I37345661e451523ccc571069646054071381358d
2015-02-10 12:30:45 -08:00
cretin45 b0e3ace8ca SetupWizard: Use TelephonyManager for checking/enabling mobile data
Change-Id: I6135d9a92efea56a50f5200827e0734f974c4849
2015-02-04 16:53:28 -08:00
cretin45 508cfbb0f3 SetupWizard: Fix AccessibilityController regression and service leak
Change-Id: Ic8e419792d2468b937feb08d6678608c936d9f98
2015-02-04 14:00:52 -08:00
cretin45 3441abdd57 SetupWizard: Add backup restore
Change-Id: Ide7149eee903cce11dfeb7fb919b707c614c8735
2015-02-03 17:00:17 -08:00
cretin45 b0167c853f SetupWizard: Use immersive mode for wifi
Change-Id: I76294fe9aac49984a4ff17f4671ee2df5e4236d3
2015-01-29 17:37:33 -08:00
cretin45 d842eed420 SetupWizard: Forward port accessibility
Change-Id: I04e5e02bfb94b9a6c6b6a0e95f1059a710075528
2015-01-27 11:10:09 -08:00
cretin45 59730c2e75 SetupWizard: Improve some of the transitions
Change-Id: I26a9d20cf429ab137d9877970ea0d6e4eafec0ad
2015-01-23 15:26:45 -08:00
cretin45 1fcde3985e SetupWizard: Add loading fragment if launching into another activity
Also always show the Wi-Fi page

Change-Id: I3be39f793403131ea07d071c3d107b1800771e65
2015-01-23 14:04:04 -08:00
cretin45 48ca24eb9b SetupWizard: Add Cyanogen services page
Change-Id: I39970b1b659a3a7ed3bb5b4350707aa0e53aba24
2015-01-19 14:29:43 -08:00
cretin45 0328b87bf6 SetupWizard: Initial commit 2015-01-15 16:04:44 -08:00