summaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/setupwizard/setup
Commit message (Collapse)AuthorAgeFilesLines
* Rebrand for ReplicantHEADreplicant-6.0Wolfgang Wiedmeyer2017-07-092-73/+0
| | | | | | | | 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>
* SetupWizard: always prompt the user to setup a lockscreenJoey Rizzoli2017-02-181-2/+1
| | | | | Change-Id: I1a7eaaa7646d04c167b99b7cf9cea3bf7c812d69 Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
* Remove Google Play Services dependencyMarvin W2017-02-181-1/+4
| | | | | | | PS2: inline hasGms usage, don't use addprefix for a single entry, remove unused imports Change-Id: I1eb1fb76e4b80e26992599e3511d265abbfa1cd7
* SetupWizard: rebrand to LineageOSJoey Rizzoli2017-01-1417-494/+477
| | | | | | | | | | * 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>
* SetupWizard: Don't show wifi setup on wifi-less devicesDiogo Ferreira2017-01-141-1/+3
| | | | | | | 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
* GmsAccount: If there's no network and FRP isn't enforcing, skip GMSRicardo Cerqueira2016-10-251-1/+6
| | | | | | | | | | | | | | The current version of GMS's SuW has the main activity return as CANCELED when no network is available. This is the same result as an actual cancellation (by pressing "Back"), and there's no extra data to distinguish the two, so the user gets stuck in a loop between the "no network" page and the one preceding it, unless connectivity is somehow established. Making connectivity mandatory for OOBE isn't acceptable, so skip GMS entirely if network is absent (and FRP isn't enforcing). The only thing it was presenting was a "you have no network" dialog anyway. Change-Id: I2abadc79a0823e94da7d3a875ce6db8eae8f143b
* If the device has FRP, prompt the user to set up a lockscreenRicardo Cerqueira2016-08-112-0/+118
| | | | | | | | | 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
* Replaced last panel with ModGuide panel.Luis Mejia2016-07-143-8/+81
| | | | | | | | | - 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
* MobileData: Don't let wait-for-radio trample wait-for-dataRicardo Cerqueira2016-07-141-6/+11
| | | | | | | | | | | | | Both waiting for radio and waiting for data used "is the progress bar visible" as the "allow to continue" clause. If radio service state changes arrived while the wait-for-data was ongoing, this'd terminate the progress bar and make it wait forever. Additionally, if wifi is connected, don't wait for data at all Ref CYNGNOS-3126 Change-Id: I81792ac8be00c6a6746af88a62220c727cddc6d8
* ChooseDataSim: Use the extra data from the intent to validate the subRicardo Cerqueira2016-07-141-23/+22
| | | | | | | | | | | | | | Instead of waiting for the telephony stack to catch up to the default, take advantage of the fact that the intent already carries the ID as an extra. Also, we were using slotId and phoneId interchangeably, and they're not the same thing. While it's likely they'll match on a freshly reset phone, don't assume that. Index everything to subId for consistency. Ref CYNGNOS-3126 Change-Id: Ibcd767d0124b05d669886190f5d9a98f1a6e5bd7
* SetupWizard: Ensure language picker is enabled onResumecretin452016-05-231-0/+3
| | | | | | Issue-id: FEIJ-559 Change-Id: Iafe0467fc4130074ce86fe5f28b215d4774dc50e
* SetupWizard: Use proper CMSetting for soft keys optioncretin452016-05-151-2/+2
| | | | | | Issue-id: CYNGNOS-2842 Change-Id: I5ab75d9d90d79b66fa9b10f011272fc0090a78dd
* SetupWizard: Alway show google pages if gms presentcretin452016-05-132-13/+6
| | | | | | | | | | | 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
* SetupWizard: Add Mod disovery language for mod ready devicescretin452016-04-271-1/+13
| | | | | | Issue-id: CYNGNOS-2566 Change-Id: If88d2d62b5d2175ffe857d45dd9f6ce132129f2a
* SetupWizard: Ensure compliance with GMS TOScretin452016-04-273-90/+45
| | | | | | | | | | | * 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
* SetupWizard: GMS page controls the next stepRoman Birg2016-04-251-0/+7
| | | | | | Ticket: CYNGNOS-2533 Change-Id: Icf7dc1de653d18ac60ddfa52dddbe9412dbc8eda Signed-off-by: Roman Birg <roman@cyngn.com>
* Prefer SIM carrier name over network carrierRicardo Cerqueira2016-04-182-2/+8
| | | | | | | | | | People generally identify their SIMs by the emitting carrier, not the network they attach to. In roaming or MVNO scenarios, these are likely not to be the same, leading to confusion in SIM selection. Ref CYNGNOS-2496 Change-Id: I0ecd8e7511fd4229d6ce7629b1f97aa83a1a6254
* SetupWizard: Don't reprompt setup if account already exists.Adnan Begovic2016-04-141-1/+29
| | | | | | | | | | | | If a user goes through the gms flow, logging in, disabling backup, getting kicked over to restore, and deciding to set the device up as new, the existing logic would reprompt since the flow causes the load action to happen again. Now check for account existance, and skip the setup if true. Change-Id: I3502294d54fcb4e202dca37ff7c6165da4401808 TICKET: CYNGNOS-2459
* SetupWizard: Wait for data connectioncretin452016-04-081-2/+49
| | | | | | Issue-id: CRACKLING-786 Change-Id: I54ef75ffa8da87d829ce7ce45a7f42ca1ce54732
* SetupWizard: Update for themes api changes.Adnan Begovic2016-03-251-1/+1
| | | | | Change-Id: I8d97d43f655bcdc32e5d94d7c844fe1b64919898 TICKET: CYNGNOS-2295
* SetupWizard: Fix regression on GMS account setup skip.Adnan Begovic2016-03-211-2/+4
| | | | | | | | If a user skips through google setup, make sure we're handling the result correctly. Change-Id: Ie2385dbd45c187dc1a90eab4a519094eae2caa72 TICKET: CYNGNOS-2258
* SetupWizard: Conditionally supress d2d on lack of nfc.Adnan Begovic2016-03-211-0/+4
| | | | | | | | If a device lacks NFC feature, pass an extra to googles setup wizard to spress the device to device setup. Change-Id: I05341f14c4a4753cb5a595734eb337eb10d505a4 TICKET: CYNGNOS-2258
* SetupWizard: Handle both restore scenarios.Adnan Begovic2016-03-171-35/+31
| | | | | | | | | | | If a user logs into Google's SetupWizard with their gmail account, they need to be prompted with a restoration picker -- otherwise, if they have a valid restoreToken and restoreAccount, we can assume that they came from a Tap & Go scenario and begin restoring as needed. Change-Id: Ifa9ce978822f365996a509edeb3023001a07be84 TICKET: CYNGNOS-2233
* SetupWizard: Restore last page on setup wizard death.Adnan Begovic2016-03-173-0/+29
| | | | | | | | | 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
* SetupWizard: Adapt to new GMS tap & go expectations.Adnan Begovic2016-03-161-2/+9
| | | | | | | | Googles SetupWizard expects a specific flow for the restoration process -- amend the intent for gms restore to abide. Change-Id: Idf4c3b813676c5456770627067a42697ab756bb0 TICKET: CYNGNOS-2233
* SetupWizard: Fixup backup/restore for Marshmallow.Adnan Begovic2016-03-161-31/+24
| | | | | | | | | | Since Marshmallow broke the ability to utilize complex matrix queries against the SettingsProvider because it is now backed by XML, rewrite the logic for the backup enabled flag to work within the new constraints. Change-Id: I8ad993564184fa14b5a3267689c69af2f7e8638e TICKET: CYNGNOS-2233
* Themes: Refactor themes to CMSDK [6/6]d34d2016-03-011-2/+2
| | | | | Change-Id: I26214e9a71f4d2f5f1b61cf3cabdcdb8bcc098b1 TICKET: CYNGNOS-2126
* SetupWizard: Modify intent for CaptivePortalLogincretin452016-02-261-10/+13
| | | | | | Issue-id: CYNGNOS-2048 Change-Id: I6e9b0ab56c59013aa1bf4d47de2a222c938d53b2
* SetupWizard : Don't update locale if sim lockedDanesh M2016-02-031-2/+32
| | | | | | | | | If the sim is locked, or the setup wizard is not visible, don't change the locale as it creates a unpleasant experience for the user. CYNGNOS-1797 Change-Id: Ib696e83cfcdaef18bcf24ef649e6268b7142961a
* SetupWizard: Remove useless WhisperPushUtilsZdrowy Gosciu2016-02-021-1/+0
| | | | | | | | WISP-41 Change-Id: Ia93d9f9d5d1b2f4d2613491e203451247ca9b474 Signed-off-by: Zdrowy Gosciu <ZdrowyGosciu+GITHUB@gmail.com> (cherry picked from commit 9710862296c94cd6d9b5d16f146e9fb4ec899009)
* SetupWizard: Bring back software nav keys optioncretin452016-02-011-47/+28
| | | | | | Issue-id: OPO-402 Change-Id: Id04105a48dfbb494dddc757f8fe9bcad16796937
* SetupWizard: RIP Whisperpushcretin452016-02-011-76/+0
| | | | Change-Id: I20363cc80dbb1481bd66abb4bd4202212ff37028
* SetupWizard : Use MccTable for mcc -> locale lookupDanesh M2016-01-281-6/+28
| | | | | | | | Some sims such as T-Mobile return incorrect languages for their PL(Preferred languages). Lookup the locale via the MccTable instead, and fallback to trusting the sim. Change-Id: I612d4952355ce4a42b35579e1f9aa879417c4cd4
* Themes: Re-enable applying theme in OOBEd34d2016-01-281-12/+13
| | | | | Change-Id: I0b027bff18c3b33fc0a925ee756766ed31740b35 TICKET: OPO-361
* SetupWizard : Ensure we don't override user locale picksDanesh M2016-01-251-26/+49
| | | | | | | | | | | | Take scroll events into consideration when deciding whether to override user locale with sim locale. Also move locale fetching to be async so we don't cause any unecessary blocking. CYNGNOS-1521 Change-Id: I0c4c1b89dd227f661c1a1cdcce445349fe4a206f
* SetupWizard : Switch to mcc/mnc localeDanesh M2016-01-202-6/+55
| | | | | | | | | | Also ensure we only send stats event once and only if the user actually changed the locale. CYNGNOS-1521 CYNGNOS-1326 Change-Id: I7b0451137e6bf80bf71350da28fe391fc8c52ce8
* SetupWizard : Set min date to Jan 1, 2016 GMTDanesh M2016-01-151-0/+12
| | | | | | | | | | In the event that the current time returns us epoch, hard code the time so the user doesn't have to scroll all the way to 2016 when setting the time. CRACKLING-721 Change-Id: I7a4122320c80e941154b84f306565c0f9b452a7d
* SetupWizard: Conditionally run account setupMatt Mower2015-12-211-1/+4
| | | | | | | | | 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
* Revert "Fingerprint: Use AOSP fingerprint setup"d34d2015-12-031-43/+55
| | | | | | | | | This reverts commit 070fbeaf5d4f0a25282f64936a21b4ac7e5c469b. We still need to show the fingerprint setup screen which allows the user to skip setting up a fingerprint if they choose to do so. Change-Id: Ifa49ad1ac0e5cf113290b973ac5e9cd8abdbed9a
* Fingerprint: Use AOSP fingerprint setupd34d2015-11-291-55/+43
| | | | | | Switch to AOSP fingerprint setup now that Marshmallow supports it. Change-Id: I55ef80671c758034be324027f168af03dda66aef
* SetupWizard: Update Location services pageMatt Mower2015-11-141-80/+125
| | | | | | | | | | | | * Remove usage of deprecated setLocationProviderEnabled and isLocationProviderEnabled * Use BroadcastReceiver to listen for changes to mode * Replace GPS option with Battery Saving option (there is no longer a mode available in Android which disables GPS) TODO: Create CMStats entry for ENABLE_BATTERY_SAVING_LOCATION Change-Id: I2efe69125518637ae9b7d0dce285c39dae654d4c
* SetupWizard: Fix locale picker stylingcretin452015-10-271-0/+2
| | | | Change-Id: If336a8321b09513ec8b22f8138a47fb4d94e5913
* SetupWizard: Temporary compile fixes.Adnan Begovic2015-10-154-29/+26
| | | | Change-Id: Iffdbb3b38aef75f14dcb0957df8dda13f844159b
* Switch SetupWizard to use CMSettings for settings unrelated to bootclasspathYvonne Wong2015-10-141-8/+11
| | | | | Issue-Id: CYNGNOS-831 Change-Id: Iba8ab05f327360332383c6e93f6a0401e57e846e
* SetupWizard: Tweak logic for showing/hiding sim missing pagecretin452015-09-171-5/+10
| | | | | | CYNGNOS-1021 Change-Id: I6139ca4368eb1bf49b07a95ac60ca28831e2cd3a
* SetupWizard: Handle xfinity captival portalcretin452015-09-011-0/+4
| | | | | | CYNGNOS-691 Change-Id: I62ef349da48ffd3e9b148e68e946fe550cea2ff7
* SetupWizard: Check for frp in finish receivercretin452015-09-011-1/+1
| | | | | | CYNGNOS-886 Change-Id: I97af3285d9321f2f153676eaac081e5408300661
* SetupWizard: Don't wait for data connection to present the data toggleRicardo Cerqueira2015-08-201-0/+31
| | | | | | | | | | We can proceed to the data enablement screen as soon as the device confirms the requested slot is active. Waiting for an actual data connection kinda breaks the point of that screen :) Addresses CYNGNOS-660 and CRACKLING-503 Change-Id: I975508852b37c0e4b112612ac10aacb71ded97b3
* SetupWizard: Improve wait for data sim change logiccretin452015-08-191-25/+52
| | | | | | | | Invalid sims and bad connections causes huge delays when switching. This disallows switching to invalid sims. It also fixes a bug were the next button would get enabled while waiting on a switch. CRACKLING-503 Change-Id: I6cf7391910cc23554bb418c3083e736a3f06e037
* setupwizard: Move CMHW to CMSDKSteve Kondik2015-08-191-10/+8
| | | | Change-Id: Icc898a22c17486c9e2cc7f2d9d54ca025c134b0d