summaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/setupwizard
Commit message (Collapse)AuthorAgeFilesLines
* Themes: Re-enable applying theme in OOBEd34d2016-01-283-22/+46
| | | | | 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: Don't disable packages on main threadcretin452016-01-122-8/+31
| | | | | | Issue-id: YAM-69 Change-Id: I81ea039a7444d3db5d97b1d798bffe9a6b8ec498
* SetupWizard: Conditionally run account setupMatt Mower2015-12-212-1/+14
| | | | | | | | | 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
* Fingerprint: Use M fingerprint setup actiond34d2015-12-031-1/+1
| | | | Change-Id: I2af048649aed4e8c81e2e31e1ad42612ad9dc6a4
* Revert "Fingerprint: Use AOSP fingerprint setup"d34d2015-12-032-44/+56
| | | | | | | | | 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-292-56/+44
| | | | | | 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-272-35/+41
| | | | Change-Id: If336a8321b09513ec8b22f8138a47fb4d94e5913
* SetupWizard: Temporary compile fixes.Adnan Begovic2015-10-156-49/+46
| | | | Change-Id: Iffdbb3b38aef75f14dcb0957df8dda13f844159b
* Switch SetupWizard to use CMSettings for settings unrelated to bootclasspathYvonne Wong2015-10-142-11/+15
| | | | | 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-012-1/+10
| | | | | | 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
* SetupWizard: Wait for data sim changecretin452015-08-182-21/+117
| | | | | | | | | 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
* SetupWizard: remove crash-inducing debug lineBrint E. Kriebel2015-08-101-1/+0
| | | | | | | | Introduced in Ia1a81c4443cfd5bc3c3e5fd84758ff0ba2a2a140, this causes an NPE in some situations. Change-Id: I13239eb92b69087fe2c91b46482ff76748ab1c19 Ticket: CYNGNOS-707
* SetupWizard: Adjust FRP-enforcing logicRicardo Cerqueira2015-08-102-4/+9
| | | | | | | | | | * 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
* SetupWizard: don't allow skipping FRPRoman Birg2015-08-072-14/+28
| | | | | Change-Id: I7532c0c68418458b921a98e556ee3172b2cf1af3 Signed-off-by: Roman Birg <roman@cyngn.com>
* SetupWizard: check if mobile data is enabled from telephony APIemancebo2015-07-211-2/+2
| | | | | | | System property ro.com.android.mobiledata is no longer used issue-id: JALEBI-135 Change-Id: Iac088d50dc50227e805b58b537c38082b6797291
* Move fingerprint setup to end of OOBEd34d2015-07-131-3/+3
| | | | | | | Fingerprint setup should occur after the user has setup any accounts and before the customization page. Change-Id: I1305d89e17da1f8d405c8bd5b8b8b5268a2ba38c
* WifiSetup: Pass the correct componentName and data for captivePortalBrandon McAnsh2015-07-131-10/+25
| | | | | | | | * CaptivePortal expects the networkid, which was not being passed on via the intent * Also use the correct componentName to bring up the sign in page Change-Id: I83d80dc3ec026d7a5a5d4b8bf4cf577214a13da4 Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
* Enroll fingerprint via SetupWizard [2/2]d34d2015-07-105-0/+138
| | | | Change-Id: Ieabfb0f3b789b02ddd1e17aba1eadfda52b21384
* Clarify touch event consumption logicEthan Chen2015-06-301-3/+3
| | | | | | | * Make it clear that both onInterceptTouchEvent and onTouchEvent need to occur. Change-Id: I951a470ad073f85a9a006c7f440872839d26cd26
* Fix incorrect retrieval of SIM Network Operator.Matt Garnes2015-06-191-1/+1
| | | | | | | | We were incorrectly passing the phone ID to TelephonyManager instead of the subscription ID. Pass the correct identifier to retrieve the network operator name. Change-Id: I266d2ce39c72db6e97eff5a36c5fec6242d516cc
* SetupWizard: protect against IllegalStateExceptions in telephonyRaj Yengisetty2015-06-181-1/+8
| | | | | | Telephony throws this exception in some cases when retrieving SIM state Change-Id: I87e14aaa328d46ebba4990559f6531de4e961d68
* SetupWizard: add overlay to uncheck cyanogen theme option by defaultemancebo2015-06-181-3/+7
| | | | | Change-Id: I278dcb3b2d8099b71a66d90250c40836dd8ec7fc (cherry picked from commit 7a255f6e5c34b7abe49333eb8f623904a8576a67)
* SetupWizard: Add hook to finish setup for CTS automationcretin452015-06-173-1/+32
| | | | Change-Id: Ifd7edda671fd8011a9b9ed894333c292cd0c3331
* SetupWizard: Ensure setup complete flags are set for secondary userscretin452015-06-121-0/+3
| | | | Change-Id: If96abdb6ccc52f7049018dcae6576dd1b886fc0f
* OOBE: fix NPE in choose data sim pageemancebo2015-05-181-1/+2
| | | | Change-Id: Ib6228e7cd223d29ac48200e9a50c0900d35f8a4e
* SetupWizard: hide WhisperPush if it's not installedRoman Birg2015-05-131-0/+12
| | | | | Change-Id: I7576a2ee0f851e1222b6ed4d53188950b20b6a16 Signed-off-by: Roman Birg <roman@cyngn.com>
* SetupWizard: Add kill switch implementationcretin452015-05-085-5/+148
| | | | Change-Id: I1335cddf0dcc94eb8d2defeebdc47cb61abffd06
* SetupWizard: Use the system property mobile data page visibilitycretin452015-05-071-2/+6
| | | | Change-Id: I3a3301bcdbc2200ba62067188e59c886a0891788
* SetupWizard: Use new LegaleseViewer for privacy policy web viewscretin452015-05-063-7/+23
| | | | | | WebViews are no longer allowed in priv-apps. Change-Id: Iddf9c79d50ea9f9d9d32218342f9948a6cbf30ef
* Setupwizard: Fix msim NPE where sim only in slot 2cretin452015-05-042-7/+7
| | | | Change-Id: I919129185cb49c51f9f02d9718e116e7d02b0d2c
* SetupWizard: Increase delay for accessibilitycretin452015-05-011-2/+2
| | | | Change-Id: Ifff7161f95e91ec7763f388206cd1d30804ad600
* SetupWizard: update stats permission and packageRoman Birg2015-04-272-4/+6
| | | | | Change-Id: I3ef19b616422ca5cc0896840753192b1c1712525 Signed-off-by: Roman Birg <roman@cyngn.com>
* Disable the CyanogenServicesPage if FEATURE_LEANBACK detecteddhacker292015-04-251-1/+3
| | | | | | TV devices will not benefit from having a CM account. Change-Id: I5258a1442c400b35d92c22a2b0e8dcbe3516aead
* If this is a TV device launch bluetooth pairing before Welcome pagedhacker292015-04-245-1/+130
| | | | | | | | 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
* WifiSetup: If device has Leanback feature specify tv.settingsdhacker292015-04-232-0/+12
| | | | | | | | | | 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
* SetupWizard: handle skipping id in SubInfoRecordsPawit Pornkitprasan2015-04-201-7/+8
| | | | | | | This extends I3b4132afccc96a5d08986a3cb902bd384931f21f to actually work. Change-Id: I9183626b40edda6a96888dca2816ff116b64bc5e
* SetupWizard: don't access SubscriptionController directlyPawit Pornkitprasan2015-04-202-23/+17
| | | | | | | | | SubscriptionController exists in the telephony process and cannot be accessed by SetupWizard. getInstance() will always return null. Change-Id: I017682d3aad539e1954348664b1c1fec7f76009d
* SetupWizard: Give radio a 10 second chance to come upcretin452015-04-175-39/+166
| | | | Change-Id: Iadd817b200106783dd67edbc5ad03928ce2baa6b
* Setupwizard: Make sure to advance if GMS is absentcretin452015-04-092-22/+26
| | | | | Change-Id: Ia0c4d83c9a9f7c581208d753024f55f48326afc7 (cherry picked from commit cb09e29e29e64032fba5cfd47e71c4db38b32f20)
* SetupWizard: Aggressively hide nav bar on soft key devicescretin452015-04-091-4/+21
| | | | | Change-Id: Ic23fd7e605a323411fe2f581235ff3ed45bfcaed (cherry picked from commit 1d7988a4c78aa8a4c768e8ddb8e0ced2c8f8c530)
* SetupWizard: Ensure page object isn't null if FM destroyedcretin452015-04-091-5/+10
| | | | | Change-Id: Ia794e7656587ca803d02418d3d84d4df5027cd00 (cherry picked from commit 62b79e38809699edf47f8a4fad16fdf706ceaa5e)