summaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/setupwizard/setup/GmsAccountPage.java
Commit message (Collapse)AuthorAgeFilesLines
* SetupWizard: Ensure compliance with GMS TOScretin452016-04-271-1/+31
| | | | | | | | | | | * 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>
* 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: 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: 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
* SetupWizard: Temporary compile fixes.Adnan Begovic2015-10-151-6/+6
| | | | Change-Id: Iffdbb3b38aef75f14dcb0957df8dda13f844159b
* 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-101-2/+3
| | | | | | | | | | * 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-071-8/+26
| | | | | Change-Id: I7532c0c68418458b921a98e556ee3172b2cf1af3 Signed-off-by: Roman Birg <roman@cyngn.com>
* Setupwizard: Make sure to advance if GMS is absentcretin452015-04-091-20/+22
| | | | | Change-Id: Ia0c4d83c9a9f7c581208d753024f55f48326afc7 (cherry picked from commit cb09e29e29e64032fba5cfd47e71c4db38b32f20)
* SetupWizard: Better handling of launching into other activitiescretin452015-04-011-16/+16
| | | | | Change-Id: I4d8dc4a1b25e45c6ff35042239a0adf4c16458f1 (cherry picked from commit ed5d46703ea6aac1c912be114523688f3f8219e8)
* SetupWizard: Add metrics for internal builds that ship with CMStatscretin452015-03-041-3/+28
| | | | Change-Id: Id932a105c18332e32605530d1502ff99b7cf380a
* SetupWizard: Make sure fragment is attached in callbackcretin452015-02-271-2/+8
| | | | Change-Id: Id492defa4c1d9bcad87311250a5f62fa046ee381
* SetupWizard: Add option to apply default theme if one existscretin452015-02-251-23/+33
| | | | | | * A bunch of code cleanup/refactoring to make this work Change-Id: I059fb5fa5bcd7dd8821e993218a320554f10a314
* SetupWizard: Refactor context typecretin452015-02-231-7/+6
| | | | | | Context is assumed to be SetupWizardActivity and blindly cast. Just make the Context reference a SetupWizardActivity. Change-Id: I3d7ffd08980fbff0fbea51b45b28002b49813038
* SetupWizard: Fix scenario where GMS setup disables its componentscretin452015-02-171-1/+4
| | | | Change-Id: Ia8edd39645f83625ff06fb61903b672b774257d6
* SetupWizard: Don't show restore page if already enabledcretin452015-02-111-0/+2
| | | | Change-Id: I3ed4563efe10b644d5c63fc52f409021ab749924
* SetupWizard: Pretend to be the gms wizardmanager for restore pagecretin452015-02-101-1/+6
| | | | Change-Id: I9376ed55cbb4f8cc176a2f2bb9a493fe023841a0
* SetupWizard: Catch case where restore activity not foundcretin452015-02-061-12/+20
| | | | Change-Id: I4acd9c2779fc41f087942e37647f90b47d3f3d9a
* SetupWizard: Add backup restorecretin452015-02-031-9/+70
| | | | Change-Id: Ide7149eee903cce11dfeb7fb919b707c614c8735
* SetupWizard: Refactor page completed to hiddencretin452015-01-281-1/+1
| | | | Change-Id: Ia5e84c52a711767e539adcc3b1a2fdc5d5a27b13
* SetupWizard: Move fragment to correct packagecretin452015-01-281-0/+1
| | | | Change-Id: I5cf3a876f2574cbf2160715f972101f274c27c23
* SetupWizard: Improve some of the transitionscretin452015-01-231-1/+6
| | | | Change-Id: I26a9d20cf429ab137d9877970ea0d6e4eafec0ad
* SetupWizard: Launch activities before loading fragmentscretin452015-01-231-1/+1
| | | | Change-Id: Ic5f393e37e6a77ffa9812f8370d2e3ee05ec9a1d
* SetupWizard: Add loading fragment if launching into another activitycretin452015-01-231-1/+17
| | | | | | Also always show the Wi-Fi page Change-Id: I3be39f793403131ea07d071c3d107b1800771e65
* SetupWizard: Use GMS AccountManager as intendedcretin452015-01-231-38/+20
| | | | Change-Id: I1c2bac11745d0d6b9a9378e483d1b64b01f5df44
* SetupWizard: Launch GMS account setup by intentcretin452015-01-231-23/+55
| | | | | | Fallback to AccountManager api if intent fails. Change-Id: I5ec06f452d12706a0f59e2f2a85bd9b4b5e4a965
* SetupWizard: Launch gms setup in immersive modecretin452015-01-221-0/+1
| | | | Change-Id: I22362ba382a07a65209da2fa76445bc60cdabdf3
* SetupWizard: Add Cyanogen services pagecretin452015-01-191-7/+7
| | | | Change-Id: I39970b1b659a3a7ed3bb5b4350707aa0e53aba24
* SetupWizard: Initial commitcretin452015-01-151-0/+90