Commit Graph

41 Commits

Author SHA1 Message Date
Fivel Sotheby 803cc9787f Revert "Rebrand for Replicant"
This reverts commit 0a041cf37a.

Signed-off-by: Velsoth <velsoth@adhoc.zone>
2019-11-15 15:47:32 +00:00
Wolfgang Wiedmeyer 0a041cf37a
Rebrand for Replicant
Metrics setup is removed. The Wi-Fi setup page is disabled because
none of the currently supported devices have the internal Wi-Fi
working.

Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2017-07-09 15:20:16 +02:00
Joey Rizzoli 729ae5a523 SetupWizard: always prompt the user to setup a lockscreen
Change-Id: I1a7eaaa7646d04c167b99b7cf9cea3bf7c812d69
Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
2017-02-18 11:39:24 +08:00
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
Ricardo Cerqueira 8331602e94 If the device has FRP, prompt the user to set up a lockscreen
FRP is kind of pointless if the device is freely accessible. Suggest
setting up a secure lockscreen during setup.

Ref CYNGNOS-3252

Change-Id: Ia807142ab08f388d533b5ee45d1fcbe81071f6d1
2016-08-11 03:38:54 -07:00
cretin45 36f15ef169 SetupWizard: Alway show google pages if gms present
Helps with an issue where qsb widget doesn't work when
running through oobe without network.

Also set the cm setup finished setting for test receiver.

CYNGNOS-2833

Change-Id: I83666deea5a27d74669691c4ab991b1b618edb0a
2016-05-13 15:40:51 -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
Danesh M d59304c730 SetupWizard : Switch to mcc/mnc locale
Also ensure we only send stats event once and
only if the user actually changed the locale.

CYNGNOS-1521
CYNGNOS-1326

Change-Id: I7b0451137e6bf80bf71350da28fe391fc8c52ce8
2016-01-20 10:33:08 -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 edaab88f13 SetupWizard: Tweak logic for showing/hiding sim missing page
CYNGNOS-1021

Change-Id: I6139ca4368eb1bf49b07a95ac60ca28831e2cd3a
2015-09-17 13:48:55 -07:00
Ricardo Cerqueira 649a5ec162 SetupWizard: Adjust FRP-enforcing logic
* Always pass ALLOW_SKIP to GMS, it's smart enough to know when it
   can't be applied.
 * Don't bring up the authentication screen if no-network and canSkip

Still CYNGNOS-707

Change-Id: Ia1a81c4443cfd5bc3c3e5fd84758ff0ba2a2a140
2015-08-10 13:21:01 +01:00
Roman Birg d587f56e2e SetupWizard: don't allow skipping FRP
Change-Id: I7532c0c68418458b921a98e556ee3172b2cf1af3
Signed-off-by: Roman Birg <roman@cyngn.com>
2015-08-07 15:57:58 -07:00
emancebo c92c4b6a3a SetupWizard: check if mobile data is enabled from telephony API
System property ro.com.android.mobiledata is no longer used

issue-id: JALEBI-135
Change-Id: Iac088d50dc50227e805b58b537c38082b6797291
2015-07-21 10:12:44 -07:00
d34d 6d93813829 Move fingerprint setup to end of OOBE
Fingerprint setup should occur after the user has setup any accounts
and before the customization page.

Change-Id: I1305d89e17da1f8d405c8bd5b8b8b5268a2ba38c
2015-07-13 12:36:39 -07:00
d34d b28f9c0a76 Enroll fingerprint via SetupWizard [2/2]
Change-Id: Ieabfb0f3b789b02ddd1e17aba1eadfda52b21384
2015-07-10 10:34:48 -07:00
Raj Yengisetty b72e820a96 SetupWizard: protect against IllegalStateExceptions in telephony
Telephony throws this exception in some cases when retrieving SIM state

Change-Id: I87e14aaa328d46ebba4990559f6531de4e961d68
2015-06-18 16:21:08 -07:00
cretin45 4d08b90df3 SetupWizard: Use the system property mobile data page visibility
Change-Id: I3a3301bcdbc2200ba62067188e59c886a0891788
2015-05-07 14:05:29 -07:00
cretin45 ac84dc0fce Setupwizard: Fix msim NPE where sim only in slot 2
Change-Id: I919129185cb49c51f9f02d9718e116e7d02b0d2c
2015-05-04 16:03:08 -07:00
dhacker29 2a98e6f6f6 Disable the CyanogenServicesPage if FEATURE_LEANBACK detected
TV devices will not benefit from having a CM account.

Change-Id: I5258a1442c400b35d92c22a2b0e8dcbe3516aead
2015-04-25 07:24:49 +00: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
cretin45 f654deb217 SetupWizard: Give radio a 10 second chance to come up
Change-Id: Iadd817b200106783dd67edbc5ad03928ce2baa6b
2015-04-17 03:44:08 +03:00
cretin45 0ed67f547c SetupWizard: Only go through OOBE if owner
Change-Id: I3886119d0d6fd69f18ea23d4b6435da75280dbf8
2015-03-12 13:50:19 -07:00
cretin45 0d31b31aac SetupWizard: Refactor for better transitions out of OOBE
Change-Id: If91da3f44dbc5383236b54da529953d48a475250
2015-03-09 14:49:31 -07: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 1d54e5207a SetupWizard: Auto advance sim missing page if sim inserted
Change-Id: I3105a264bb9ae13c513398ae19d541ae194b7331
2015-02-23 16:03:47 -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 9d72db9dbe SetupWizard: Reveal the default wallpaper on oobe finish
Change-Id: I68a256853f256af3464da7eba57a307a810d80cd
2015-02-16 16:52:06 -08:00
cretin45 16486aead0 SetupWizard. Don't show account pages if no connectivity
Change-Id: I36e181f67e9fc0efef39cc58f7dc80bbbfd5b49d
2015-02-13 10:51:10 -08:00
cretin45 a6b56dd6f6 SetupWizard: Only show some pages if user is owner
Change-Id: Ib0e873d69fa38a2f214e0250eb8b1700011af369
2015-02-10 12:30:45 -08:00
cretin45 cb291e170c SetupWizard: Improved show/hide page logic
Change-Id: I23212a97c0435ee69db46c8b478207c62e3b07cb
2015-02-04 17:13:57 -08:00
cretin45 c117b980c4 SetupWizard: Listen for network time events too
Change-Id: I64b1e6c933b5efc189684d7c197f3ea3956a0760
2015-02-03 17:06:38 -08:00
cretin45 3441abdd57 SetupWizard: Add backup restore
Change-Id: Ide7149eee903cce11dfeb7fb919b707c614c8735
2015-02-03 17:00:17 -08:00
cretin45 a912fa829f SetupWizard: Use telephony check
Change-Id: If888fd9dc5865a7d131d18db38be870a8569eeb0
2015-01-30 13:56:47 -08:00
cretin45 106a127508 SetupWizard: Add receivers for sim state and time
Change-Id: I8d44623e898eaa175d69d682c8089caa1a58f287
2015-01-29 17:40:05 -08:00
cretin45 767172a196 SetupWizard: Only call isSimMissing for missing sim page
Change-Id: I31062ac17ace92824653c6b996ff16ee564a963e
2015-01-27 15:29:04 -08:00
cretin45 dc8c56ba31 SetupWizard: Separate the CM services and settings page
Change-Id: Ia51404ea75cbf5a9219f354412ecb34edbb08958
2015-01-23 16:06:26 -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