summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* SetupWizard: Add Mod disovery language for mod ready devicescretin452016-04-275-4/+103
| | | | | | Issue-id: CYNGNOS-2566 Change-Id: If88d2d62b5d2175ffe857d45dd9f6ce132129f2a
* SetupWizard: Ensure compliance with GMS TOScretin452016-04-278-150/+58
| | | | | | | | | | | * 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: Handle register theme change listener crashcretin452016-04-261-2/+7
| | | | | | Issue-id: FEIJ-84 Change-Id: I8ffca77418702f04328ae7d0581ab8cc316a04e8
* SetupWizard: Fix test app buildingcretin452016-04-262-0/+5
| | | | | | Ticket: CYNGNOS-2431 Change-Id: I75249f0bbb6e59f47e4a30608bb63b42c93c6e37
* 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: add a CM-specific setup-complete settings keyRoman Birg2016-04-223-0/+13
| | | | | | | | | | | | | | | | | | Android uses Settings.Global.DEVICE_PROVISIONED and Settings.Secure.USER_SETUP_COMPLETE and the system responds to those database entries, such as allowing the keyguard to be visible, or maybe pulling the statusbar down. Since we still depend on some of Google's setup wizard, it also keys off the same table rows and it may decide that the device is now provisioned when we still haven't finished our own setup wizard, so let's add another key that we have control over to show the real state of OUR setup wizard. Ticket: CYNGNOS-2431 Change-Id: Ic21689625f6d80e209161762ace741918b972aba 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
* Automatic translation importMichael Bestas2016-04-1660-61/+90
| | | | Change-Id: I5b54fcd2848c07798c9a4a18a9c4d050dfbf782b
* 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
* Update the theme apply label stringDave Kover2016-04-131-1/+1
| | | | | | | | More expressive and specifically calls out two components most likely to be included. Change-Id: Ied32d53f308b3fa9fea65a77524c7e3729c52f06 Ticket: CYNGNOS-2085
* SetupWizard: Wait for data connectioncretin452016-04-081-2/+49
| | | | | | Issue-id: CRACKLING-786 Change-Id: I54ef75ffa8da87d829ce7ce45a7f42ca1ce54732
* Automatic translation importMichael Bestas2016-04-063-16/+35
| | | | Change-Id: I4541f0e56eb0b84ae47a1b2da57ade2e1903dc0b
* Automatic translation importMichael Bestas2016-03-287-58/+17
| | | | Change-Id: I8c171f98bf44f4aa2ac3db1e4e91bbc374e0ba7d
* SetupWizard: Update for themes api changes.Adnan Begovic2016-03-252-3/+3
| | | | | 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-212-0/+5
| | | | | | | | 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
* Automatic translation importMichael Bestas2016-03-1817-13/+569
| | | | Change-Id: I6255a0cc02592fd491ae80de174c459b9f0fa7c6
* 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-174-0/+65
| | | | | | | | | 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-162-2/+11
| | | | | | | | 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
* Automatic translation importMichael Bestas2016-03-0493-17/+895
| | | | Change-Id: Ibbc2c231c4c041742dbac6f1d607b883f5699602
* Themes: Refactor themes to CMSDK [6/6]d34d2016-03-013-8/+7
| | | | | Change-Id: I26214e9a71f4d2f5f1b61cf3cabdcdb8bcc098b1 TICKET: CYNGNOS-2126
* SetupWizard: Modify intent for CaptivePortalLogincretin452016-02-261-10/+13
| | | | | | Issue-id: CYNGNOS-2048 Change-Id: I6e9b0ab56c59013aa1bf4d47de2a222c938d53b2
* Automatic translation importMichael Bestas2016-02-227-35/+39
| | | | Change-Id: I8e97ae46a19d8e1bb8d8364f5c7a11178ec05776
* SetupWizard: Request READ_PRIVILEGED_PHONE_STATE perm for sim change eventscretin452016-02-161-0/+1
| | | | | | Issue-id: CYNGNOS-2057 Change-Id: Ie3b0c617249ead069125c13e40b497a3328b0563
* Automatic translation importMichael Bestas2016-02-1450-157/+81
| | | | Change-Id: Idaecb2359c426de380340ff10e5dea4c0541dde7
* SetupWizard: fix build break for incorrect java lib linkingEdward Wang2016-02-091-2/+3
| | | | | | Issue-Id: CYNGNOS-1969 Change-Id: Ia13390739737063a9ab0cd0c3907389f3a587191
* 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
* String update, change wording from "Mobile" to "Cellular"razorloves2016-02-021-3/+3
| | | | | | Bring inline with AOSP's terminology Change-Id: Id2e62140da23f4eefe206d9f9baeb5979886086f
* Automatic translation importMichael Bestas2016-02-0220-0/+178
| | | | Change-Id: I74487a8b430467ca969fe8fff5dc6c4fe9dc0704
* SetupWizard: Remove useless WhisperPushUtilsZdrowy Gosciu2016-02-022-79/+0
| | | | | | | | WISP-41 Change-Id: Ia93d9f9d5d1b2f4d2613491e203451247ca9b474 Signed-off-by: Zdrowy Gosciu <ZdrowyGosciu+GITHUB@gmail.com> (cherry picked from commit 9710862296c94cd6d9b5d16f146e9fb4ec899009)
* SetupWizard: Ensure UI doesn't show when user is guestcretin452016-02-012-12/+29
| | | | | | Issue-id: CYNGNOS-1736 Change-Id: Ibcd85ca3f90a6ab35a3ae6da622f59786ddcbcd3
* SetupWizard: Bring back software nav keys optioncretin452016-02-011-47/+28
| | | | | | Issue-id: OPO-402 Change-Id: Id04105a48dfbb494dddc757f8fe9bcad16796937
* SetupWizard: Fix test app building in 13cretin452016-02-011-5/+2
| | | | Change-Id: I53d5317070950d75637182c9284a7a38ec99c222
* SetupWizard: RIP Whisperpushcretin452016-02-013-115/+0
| | | | Change-Id: I20363cc80dbb1481bd66abb4bd4202212ff37028
* SetupWizard : Use MccTable for mcc -> locale lookupDanesh M2016-01-282-7/+30
| | | | | | | | 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-284-23/+47
| | | | | Change-Id: I0b027bff18c3b33fc0a925ee756766ed31740b35 TICKET: OPO-361
* Automatic translation importMichael Bestas2016-01-254-12/+53
| | | | Change-Id: I521c0301a8a3fff426b15dd7645b6e5b59496bac
* SetupWizard : Ensure we don't override user locale picksDanesh M2016-01-252-26/+50
| | | | | | | | | | | | 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: Upgrade sdk to 23cretin452016-01-121-7/+3
| | | | | | Also remove uneeded perms. Change-Id: I953e341c30d8d02beffe2031f102379586da4e81
* SetupWizard: Don't disable packages on main threadcretin452016-01-122-8/+31
| | | | | | Issue-id: YAM-69 Change-Id: I81ea039a7444d3db5d97b1d798bffe9a6b8ec498
* Automatic translation importMichael Bestas2016-01-1115-34/+264
| | | | Change-Id: I41eb1f3ba6fdec2a332fc63f8f45c39d4c87bc99
* Revert "SetupWizard: declare setupwizard category in manifest"Roman Birg2016-01-081-1/+0
| | | | | | This reverts commit 62f145793a5fe513477ac2e05188fa72a4fa1b95. Change-Id: Icb686765d4438fb3c8ba919e091d4561a198de73
* SetupWizard: declare setupwizard category in manifestRoman Birg2016-01-071-0/+1
| | | | | | | | | | In case there's more than one setup wizard package, we can only grant permissions to one by default. That is queried by the Intent.CATEGORY_SETUP_WIZARD which needs to be declared so we are in the line up to receive the permission. Change-Id: Ia9bf7ef2dfdaedfc567f038cd860abafa0e2d657 Signed-off-by: Roman Birg <roman@cyngn.com>
* Automatic translation importMichael Bestas2015-12-2548-214/+128
| | | | Change-Id: I1f5120b5affa555a034c43060b3dc300e2a144ad
* SetupWizard: Conditionally run account setupMatt Mower2015-12-213-1/+15
| | | | | | | | | 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