Commit Graph

277 Commits

Author SHA1 Message Date
Adnan Begovic
0d83f7c062 SetupWizard: Fixup backup/restore for Marshmallow.
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
2016-03-16 11:04:23 -07:00
Michael Bestas
2009ae2ec4 Automatic translation import
Change-Id: Ibbc2c231c4c041742dbac6f1d607b883f5699602
2016-03-04 16:25:40 -08:00
d34d
8104310592 Themes: Refactor themes to CMSDK [6/6]
Change-Id: I26214e9a71f4d2f5f1b61cf3cabdcdb8bcc098b1
TICKET: CYNGNOS-2126
2016-03-01 09:58:55 -08:00
cretin45
ca63326151 SetupWizard: Modify intent for CaptivePortalLogin
Issue-id: CYNGNOS-2048

Change-Id: I6e9b0ab56c59013aa1bf4d47de2a222c938d53b2
2016-02-26 12:15:39 -08:00
Michael Bestas
01e57cdf28 Automatic translation import
Change-Id: I8e97ae46a19d8e1bb8d8364f5c7a11178ec05776
2016-02-22 05:14:26 +02:00
cretin45
56bf4365cf SetupWizard: Request READ_PRIVILEGED_PHONE_STATE perm for sim change events
Issue-id: CYNGNOS-2057

Change-Id: Ie3b0c617249ead069125c13e40b497a3328b0563
2016-02-16 12:34:33 -08:00
Michael Bestas
6bce9d5e1d Automatic translation import
Change-Id: Idaecb2359c426de380340ff10e5dea4c0541dde7
2016-02-14 16:25:36 +02:00
Edward Wang
4e1c4f5eba SetupWizard: fix build break for incorrect java lib linking
Issue-Id: CYNGNOS-1969

Change-Id: Ia13390739737063a9ab0cd0c3907389f3a587191
2016-02-09 16:33:15 -08:00
Danesh M
d6b937a567 SetupWizard : Don't update locale if sim locked
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
2016-02-03 16:25:26 -08:00
razorloves
228ffe700a String update, change wording from "Mobile" to "Cellular"
Bring inline with AOSP's terminology

Change-Id: Id2e62140da23f4eefe206d9f9baeb5979886086f
2016-02-02 20:04:45 -06:00
Michael Bestas
a11d93627a Automatic translation import
Change-Id: I74487a8b430467ca969fe8fff5dc6c4fe9dc0704
2016-02-02 09:20:40 -08:00
Zdrowy Gosciu
13539517cf SetupWizard: Remove useless WhisperPushUtils
WISP-41

Change-Id: Ia93d9f9d5d1b2f4d2613491e203451247ca9b474
Signed-off-by: Zdrowy Gosciu <ZdrowyGosciu+GITHUB@gmail.com>
(cherry picked from commit 9710862296c94cd6d9b5d16f146e9fb4ec899009)
2016-02-02 07:44:35 -08:00
cretin45
1b1b991da5 SetupWizard: Ensure UI doesn't show when user is guest
Issue-id: CYNGNOS-1736

Change-Id: Ibcd85ca3f90a6ab35a3ae6da622f59786ddcbcd3
2016-02-01 15:23:19 -08:00
cretin45
5b276ea335 SetupWizard: Bring back software nav keys option
Issue-id: OPO-402

Change-Id: Id04105a48dfbb494dddc757f8fe9bcad16796937
2016-02-01 15:14:54 -08:00
cretin45
d40d8b83c3 SetupWizard: Fix test app building in 13
Change-Id: I53d5317070950d75637182c9284a7a38ec99c222
2016-02-01 13:53:56 -08:00
cretin45
962f9a89d4 SetupWizard: RIP Whisperpush
Change-Id: I20363cc80dbb1481bd66abb4bd4202212ff37028
2016-02-01 13:52:54 -08:00
Danesh M
95246f2063 SetupWizard : Use MccTable for mcc -> locale lookup
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
2016-01-28 10:56:27 -08:00
d34d
06aa3eb165 Themes: Re-enable applying theme in OOBE
Change-Id: I0b027bff18c3b33fc0a925ee756766ed31740b35
TICKET: OPO-361
2016-01-28 08:04:18 -08:00
Michael Bestas
578df09d02 Automatic translation import
Change-Id: I521c0301a8a3fff426b15dd7645b6e5b59496bac
2016-01-25 12:21:00 -08:00
Danesh M
00ad2213ff SetupWizard : Ensure we don't override user locale picks
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
2016-01-25 11:24:33 -08:00
Danesh M
d59304c730 SetupWizard : Switch to mcc/mnc locale
Also ensure we only send stats event once and
only if the user actually changed the locale.

CYNGNOS-1521
CYNGNOS-1326

Change-Id: I7b0451137e6bf80bf71350da28fe391fc8c52ce8
2016-01-20 10:33:08 -08:00
Danesh M
f8e4ab690f SetupWizard : Set min date to Jan 1, 2016 GMT
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
2016-01-15 14:53:35 -08:00
cretin45
f5ec6ac071 SetupWizard: Upgrade sdk to 23
Also remove uneeded perms.

Change-Id: I953e341c30d8d02beffe2031f102379586da4e81
2016-01-12 16:14:41 -08:00
cretin45
1141611f91 SetupWizard: Don't disable packages on main thread
Issue-id: YAM-69

Change-Id: I81ea039a7444d3db5d97b1d798bffe9a6b8ec498
2016-01-12 14:47:32 -08:00
Michael Bestas
3e68503d9e Automatic translation import
Change-Id: I41eb1f3ba6fdec2a332fc63f8f45c39d4c87bc99
2016-01-11 22:43:23 +02:00
Roman Birg
f4f43c6edd Revert "SetupWizard: declare setupwizard category in manifest"
This reverts commit 62f145793a.

Change-Id: Icb686765d4438fb3c8ba919e091d4561a198de73
2016-01-08 10:34:50 -08:00
Roman Birg
62f145793a SetupWizard: declare setupwizard category in manifest
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>
2016-01-07 07:54:19 -08:00
Michael Bestas
8c472fc564 Automatic translation import
Change-Id: I1f5120b5affa555a034c43060b3dc300e2a144ad
2015-12-25 19:36:45 +02:00
Matt Mower
7ab7f3c6d9 SetupWizard: Conditionally run account setup
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
2015-12-21 14:07:11 -08:00
d34d
68d2ba7728 Fingerprint: Use M fingerprint setup action
Change-Id: I2af048649aed4e8c81e2e31e1ad42612ad9dc6a4
2015-12-03 16:54:16 -08:00
d34d
a2f4c5812e Revert "Fingerprint: Use AOSP fingerprint setup"
This reverts commit 070fbeaf5d.

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
2015-12-03 16:53:37 -08:00
d34d
070fbeaf5d Fingerprint: Use AOSP fingerprint setup
Switch to AOSP fingerprint setup now that Marshmallow supports it.

Change-Id: I55ef80671c758034be324027f168af03dda66aef
2015-11-29 17:16:31 -08:00
Matt Mower
ea2d42d654 SetupWizard: Update Location services page
* 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
2015-11-14 23:43:55 -06:00
cretin45
b64d5e7676 SetupWizard: Fix locale picker styling
Change-Id: If336a8321b09513ec8b22f8138a47fb4d94e5913
2015-10-27 12:44:11 -07:00
cretin45
41801b0ca2 SetupWizard: Update proguard for play services 8115000
Change-Id: Ia3dfa3190b08fac70de2fe088da419d96b0ffa9e
2015-10-23 15:23:38 -07:00
Adnan Begovic
307e587a3a SetupWizard: Temporary compile fixes.
Change-Id: Iffdbb3b38aef75f14dcb0957df8dda13f844159b
2015-10-15 15:18:58 -07:00
Yvonne Wong
f29f92dcac Switch SetupWizard to use CMSettings for settings unrelated to bootclasspath
Issue-Id: CYNGNOS-831
Change-Id: Iba8ab05f327360332383c6e93f6a0401e57e846e
2015-10-14 12:40:40 -07:00
Adnan Begovic
56ccf8676f SetupWizard: Remove themechange config change for now.
Change-Id: I4ccaab30a6719723e2d3e92edb5eaa0977e51d1b
2015-10-09 12:36:16 -07:00
Roman Birg
5780dade7e SetupWizard: fix stats permission
Ref: CYNGNOS-1144

Change-Id: I3c9ed01b883134c2c10b1be64ae7e1d319c3df9e
Signed-off-by: Roman Birg <roman@cyngn.com>
2015-09-28 16:50:11 -07:00
Michael Bestas
14bb4e512f Automatic translation import
Change-Id: I6a030395a7027ca91bffcb5bb2fcc6a93b6225ac
2015-09-24 22:00:55 +03:00
cretin45
edaab88f13 SetupWizard: Tweak logic for showing/hiding sim missing page
CYNGNOS-1021

Change-Id: I6139ca4368eb1bf49b07a95ac60ca28831e2cd3a
2015-09-17 13:48:55 -07:00
Danesh M
fa1be773ce Revert "Bump HOME intent priority"
Breaks sim unlock

This reverts commit 4fb57dc022.

Change-Id: I0e90a471b508b9c0c4bc692ff5ca4508cbe5862b
2015-09-15 09:15:46 -07:00
Michael Bestas
aa2af7154c Automatic translation import
Change-Id: Id71fb96b7e72b372d5e0e2d0f525f6d84ac46cc5
2015-09-12 06:18:07 -07:00
Raj Yengisetty
4fb57dc022 Bump HOME intent priority
Other applications have a higher priority causing some poor
behavior during OOBE (e.g. CryptKeeper). Bumping this to get rid of
some jank during first boot.

issue-id: CYNGNOS-983

Change-Id: I272d1541e22933aa3abd86d2e73c7140eaa4df91
2015-09-11 12:56:06 -07:00
martincz
6c1d791534 SetupWizard: Allow SetupWizard to use CMHW
Change-Id: Ic47824e7219bbf214bd388ad888e2af67ff62f39
2015-09-10 10:13:25 -07:00
cretin45
97af685bbd SetupWizard: Handle xfinity captival portal
CYNGNOS-691

Change-Id: I62ef349da48ffd3e9b148e68e946fe550cea2ff7
2015-09-01 16:44:53 -07:00
cretin45
97c37bef11 SetupWizard: Check for frp in finish receiver
CYNGNOS-886

Change-Id: I97af3285d9321f2f153676eaac081e5408300661
2015-09-01 16:32:48 -07:00
Michael Bestas
9ce4c4f0d6 Automatic translation import
Change-Id: If2f9f1e7f813e675382a712c62bcc6737b9fa4f0
2015-09-01 01:33:04 +03:00
Tom Powell
837f27e6c2 Automatic translation import
Change-Id: Ibdd3f4c2b7fcd45add1d855f72f61f67de93ea6f
2015-08-21 11:20:19 -07:00
Tom Powell
c407a527cc Automatic translation import
Change-Id: Id4e0ec397f0fb74bc7adf0490ab43be933cd3830
2015-08-20 14:34:51 -07:00