summaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/setupwizard/setup
Commit message (Collapse)AuthorAgeFilesLines
* 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
* SetupWizard: Wait for data sim changecretin452015-08-181-19/+115
| | | | | | | | | 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-102-0/+126
| | | | Change-Id: Ieabfb0f3b789b02ddd1e17aba1eadfda52b21384
* 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-171-0/+29
| | | | Change-Id: Ifd7edda671fd8011a9b9ed894333c292cd0c3331
* 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-083-5/+100
| | | | 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-062-7/+22
| | | | | | 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
* 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-242-1/+124
| | | | | | | | 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-231-0/+3
| | | | | | | | | | 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-201-12/+11
| | | | | | | | | 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-173-39/+124
| | | | Change-Id: Iadd817b200106783dd67edbc5ad03928ce2baa6b
* Setupwizard: Make sure to advance if GMS is absentcretin452015-04-091-20/+22
| | | | | Change-Id: Ia0c4d83c9a9f7c581208d753024f55f48326afc7 (cherry picked from commit cb09e29e29e64032fba5cfd47e71c4db38b32f20)
* SetupWizard: Don't assume order of SubInfoRecordscretin452015-04-091-4/+10
| | | | Change-Id: I3b4132afccc96a5d08986a3cb902bd384931f21f
* SetupWizard: Disable Checkbox on ResumeAaahh2015-04-091-0/+4
| | | | | Change-Id: Ica6f3043b9b0d3703b6ce6f47a43b5201deb05b7 (cherry picked from commit 9192fc690306c85349b62204cb74f61a1d12edec)
* SetupWizard: Initialize the nav keys bundle booleancretin452015-04-011-3/+5
| | | | | Change-Id: I50f2ef0fb7226c8b58437b669ca71df436d68ee8 (cherry picked from commit 33683fc2ce0d506c5c69726a112e768684676343)
* SetupWizard: Fix regression for devices without custom default themecretin452015-04-011-21/+34
| | | | | Change-Id: Ia223c1b118dbb68e596ff01cf944bc870a321752 (cherry picked from commit 838248ab868a91948fe5d63a0aba50e6dea13643)
* SetupWizard: Fix regression, only init pages oncecretin452015-04-011-16/+30
| | | | | Change-Id: I1207cb3975daa752a66eb8e9e40635f9a8009509 (cherry picked from commit 83be05d6ecf435be562f397e98e0ad61e5974ecd)
* SetupWizard: Better handling of launching into other activitiescretin452015-04-016-49/+42
| | | | | Change-Id: I4d8dc4a1b25e45c6ff35042239a0adf4c16458f1 (cherry picked from commit ed5d46703ea6aac1c912be114523688f3f8219e8)
* setupwizard: Adapt to MR1 multisim APIsSteve Kondik2015-03-221-25/+32
| | | | Change-Id: Icb5bad076fe5a5e8a26befc5bedd04981c374117
* SetupWizard: #blamethemescretin452015-03-131-0/+7
| | | | | | 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
* SetupWizard: Only go through OOBE if ownercretin452015-03-121-8/+5
| | | | Change-Id: I3886119d0d6fd69f18ea23d4b6435da75280dbf8
* SetupWizard: Only update network state when resumedcretin452015-03-112-117/+131
| | | | Change-Id: Id018bf0ed4d9c54a1d6d57d53749c265b1d0e269
* SetupWizard: Update legal linkcretin452015-03-111-1/+1
| | | | Change-Id: I1389dbb3e7e0ba3b7db992fdef02f4c8fdc1692d
* SetupWizard: Refactor for better transitions out of OOBEcretin452015-03-091-1/+4
| | | | Change-Id: If91da3f44dbc5383236b54da529953d48a475250
* SetupWizard: move to CmHardwareServiceScott Mertz2015-03-071-18/+14
| | | | Change-Id: I9413151fe307d23196ea5736dc8c50966a43a7cc
* SetupWizard: Add metrics for internal builds that ship with CMStatscretin452015-03-0410-13/+147
| | | | Change-Id: Id932a105c18332e32605530d1502ff99b7cf380a
* SetupWizard: Add callback for actions to run post finishcretin452015-03-033-3/+16
| | | | Change-Id: Ifa62c94f61afbe33a97a66dc0acb72e303023579
* SetupWizard: Update legal linkcretin452015-03-021-1/+1
| | | | Change-Id: I7fddeac0a5da34906169bcd89a3f308a8463759e
* SetupWizard: Make sure fragment is attached in callbackcretin452015-02-272-5/+17
| | | | Change-Id: Id492defa4c1d9bcad87311250a5f62fa046ee381
* SetupWizard: Update setting constants.Adnan2015-02-261-10/+10
| | | | Change-Id: I6d6070b3bdeaf8caf55f8c7d5fa3a54ab2d088bc
* SetupWizard: Add option to apply default theme if one existscretin452015-02-2516-94/+190
| | | | | | * A bunch of code cleanup/refactoring to make this work Change-Id: I059fb5fa5bcd7dd8821e993218a320554f10a314
* SetupWizard: Auto advance sim missing page if sim insertedcretin452015-02-231-0/+3
| | | | Change-Id: I3105a264bb9ae13c513398ae19d541ae194b7331