Commit Graph

277 Commits

Author SHA1 Message Date
blinky@build01
b8f7b317c2 Automatic translation import
Change-Id: If68ff820b3ca26981a3ac28b10fb3211efd585b0
Ticket: RM-231
2016-09-19 19:11:58 -07:00
blinky@build01
a3cfd0d806 Automatic translation import
Change-Id: Idf10191cf178882ebc54694930c4c87b67c3e822
Ticket: RM-231
2016-09-18 18:05:15 -07:00
blinky@build01
30f3035c7b Automatic translation import
Change-Id: I43d7421e4565c4c68a0bd47b887de1d657dca54d
Ticket: RM-231
2016-09-06 21:26:55 -07:00
blinky@build01
bed791f6e5 Automatic translation import
Change-Id: Ic8ad353432a0fbe17e92792c2c172d239582ec43
Ticket: RM-231
2016-09-01 18:46:18 -07:00
pinky@build01
24fd0339af Automatic translation import
Change-Id: I6eaa18ba7c83ca35237d1a134f9fc87b36ca1798
Ticket: RM-231
2016-08-31 10:12:43 -07:00
inky@build01
6c6a4320c3 Automatic translation import
Change-Id: I3ca885de4cacb83cd3f6f885bb8aa176f74b8ee5
Ticket: RM-231
2016-08-29 17:40:58 -07:00
pinky@build01
c8c7eaf728 Automatic translation import
Change-Id: Ic3df69e85363bd49844ee26ea5c0964c03a77ac1
Ticket: RM-231
2016-08-25 11:11:06 -07:00
pinky@build01
5313487d06 Automatic translation import
Change-Id: Icdb89836a1904d05a553b150c0213d347c91dfb4
Ticket: RM-231
2016-08-24 23:56:10 -07:00
pinky@build01
e363e358a6 Automatic translation import
Change-Id: I95dd65eb2615c6dce7fb7a362c13c7b653d67594
Ticket: RM-231
2016-08-23 11:13:19 -07:00
clyde@build01
7e39abb8d9 Automatic translation import
Change-Id: I67b05722465094e92feec4b5fd00ca115ee7fe89
Ticket: RM-231
2016-08-23 03:14:25 -07:00
blinky@build01
65798d5e8d Automatic translation import
Change-Id: I76d647d5162cce1ac3e2bfc863a33275d4f23308
Ticket: RM-231
2016-08-22 11:40:29 -07:00
pinky@build01
2a42afa1c2 Automatic translation import
Change-Id: Iaf0bdce897bfa49f1294f94f2267484aa7071493
Ticket: RM-231
2016-08-21 03:59:10 -07:00
clyde@build01
f05f9b22f6 Automatic translation import
Change-Id: I11c254e4a0bdbf6e4086f4f81ebd4a7b85cbc068
Ticket: RM-231
2016-08-18 11:00:48 -07:00
inky@build01
68961c25f5 Automatic translation import
Change-Id: I49797c99cc89d0d9cb0825bf2cc017a1286dcde2
Ticket: RM-231
2016-08-15 08:28:13 -07:00
pinky@build01
eb4c63c84f Automatic translation import
Change-Id: I51d650a5643f363f9944cc3115ffa5333302edf8
Ticket: RM-231
2016-08-13 16:48:08 -07:00
pinky@build01
e2c402efa1 Automatic translation import
Change-Id: I6cb3117fd81a32d3f6aa448b6a90d28dd93787f4
Ticket: RM-231
2016-08-12 15:28:00 -07:00
Ricardo Cerqueira
74682334b4 If the device has FRP, prompt the user to set up a lockscreen
FRP is kind of pointless if the device is freely accessible. Suggest
setting up a secure lockscreen during setup.

Ref CYNGNOS-3252

Change-Id: Ia807142ab08f388d533b5ee45d1fcbe81071f6d1
2016-08-11 14:57:13 +01:00
clyde@build01
014a7cc540 Automatic translation import
Change-Id: Iead1d77ce87b47d78eace15f6b44495e146bbf0c
Ticket: RM-231
2016-07-27 14:33:18 -07:00
pinky@build01
ca5ed31b1f Automatic translation import
Change-Id: I9b0adaec50724991e1e92597855e70f411914f77
Ticket: RM-231
2016-07-14 11:45:44 -07:00
pinky@build01
554f11a79d Automatic translation import
Change-Id: Iff4fab6580c2482b89cb49b3f89acc354998de45
Ticket: RM-231
2016-07-14 11:45:14 -07:00
pinky@build01
51a02f49db Automatic translation import
Change-Id: Ibc56bca29029b013e668e9b60c57a9e9097b6dc9
Ticket: RM-231
2016-07-14 11:44:37 -07:00
Ricardo Cerqueira
3d0a22db75 MobileData: Don't let wait-for-radio trample wait-for-data
Both waiting for radio and waiting for data used "is the progress
bar visible" as the "allow to continue" clause. If radio service
state changes arrived while the wait-for-data was ongoing, this'd
terminate the progress bar and make it wait forever.

Additionally, if wifi is connected, don't wait for data at all

Ref CYNGNOS-3126

Change-Id: I81792ac8be00c6a6746af88a62220c727cddc6d8
(cherry picked from commit 7c1cf5a232)
2016-07-14 04:04:32 -07:00
Ricardo Cerqueira
713b22f0db ChooseDataSim: Use the extra data from the intent to validate the sub
Instead of waiting for the telephony stack to catch up to the default,
take advantage of the fact that the intent already carries the ID as
an extra.

Also, we were using slotId and phoneId interchangeably, and they're not
the same thing. While it's likely they'll match on a freshly reset
phone, don't assume that. Index everything to subId for consistency.

Ref CYNGNOS-3126

Change-Id: Ibcd767d0124b05d669886190f5d9a98f1a6e5bd7
(cherry picked from commit 3ebea2fb6d)
2016-07-14 04:04:12 -07:00
Abhisek Devkota
66b7fef2fa Automatic translation import
Change-Id: I82cddd217a4ec3f1be6057bd338b0b8e757c4924
Ticket: RM-231
2016-06-28 00:32:19 +02:00
inky@build01
16086158ca Automatic translation import
Change-Id: Ib83040c26886d53e0a854c42eab28feca6265143
Ticket: RM-231
2016-06-17 12:07:25 -07:00
blinky@build01
a471f36eed Automatic translation import
Change-Id: Id309ee38910c69f54607cb909a17ffa3a7d21dc6
Ticket: RM-214
2016-06-01 16:21:01 -07:00
cretin45
c797d1f5ef SetupWizard: Alway show google pages if gms present
Helps with an issue where qsb widget doesn't work when
running through oobe without network.

Also set the cm setup finished setting for test receiver.

CYNGNOS-2833

Change-Id: I83666deea5a27d74669691c4ab991b1b618edb0a
(cherry picked from commit 36f15ef169)
2016-05-31 15:17:38 -07:00
Jessica Wagantall
48edca790e Automatic translation import
Change-Id: Ib02e84ef73d9a910b273b07cd338c05191c717fe
Ticket: RM-214
2016-05-26 18:21:39 -07:00
cretin45
143552b394 SetupWizard: Ensure language picker is enabled onResume
Issue-id: FEIJ-559

Change-Id: Iafe0467fc4130074ce86fe5f28b215d4774dc50e
(cherry picked from commit 4981bc9888)
2016-05-23 15:19:47 -07:00
cretin45
556528b548 SetupWizard: Use proper CMSetting for soft keys option
Issue-id: CYNGNOS-2842

Change-Id: I5ab75d9d90d79b66fa9b10f011272fc0090a78dd
(cherry picked from commit 334c00f437)
2016-05-15 11:17:07 -07:00
Abhisek Devkota
e638da1cb2 Automatic translation import
Change-Id: I5dd902a079c44e0a0baf79f6b179bde4a455849f
Ticket: RM-231
2016-05-14 09:45:21 +02:00
cretin45
e79c4ea91e SetupWizard: Run as com.android.wizard task affinity
Issue-id: FEIJ-254

Change-Id: Ib841e7dd82d900150229e99ca01f97dfed6bcde9
(cherry picked from commit d35618baef)
2016-05-02 12:27:15 -07:00
cretin45
c919eb07c2 SetupWizard: Add Mod disovery language for mod ready devices
Issue-id: CYNGNOS-2566

Change-Id: If88d2d62b5d2175ffe857d45dd9f6ce132129f2a
(cherry picked from commit 635504813a)
2016-04-27 12:51:22 -07:00
cretin45
94db7bffcb SetupWizard: Ensure compliance with GMS TOS
* 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
(cherry picked from commit 8109277755)
2016-04-27 12:50:49 -07:00
Roman Birg
ee41edd74b SetupWizard: add a CM-specific setup-complete settings key
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>
(cherry picked from commit fccccda787)
2016-04-26 19:14:26 -07:00
cretin45
081fc3d4ae SetupWizard: Handle register theme change listener crash
Issue-id: FEIJ-84

Change-Id: I8ffca77418702f04328ae7d0581ab8cc316a04e8
(cherry picked from commit 941aa1e1e2)
2016-04-26 12:28:27 -07:00
cretin45
4c7f320b6f SetupWizard: Fix test app building
Ticket: CYNGNOS-2431

Change-Id: I75249f0bbb6e59f47e4a30608bb63b42c93c6e37
(cherry picked from commit 2e75c4ee04)
2016-04-26 11:00:48 -07:00
Roman Birg
53363b82a8 SetupWizard: GMS page controls the next step
Ticket: CYNGNOS-2533
Change-Id: Icf7dc1de653d18ac60ddfa52dddbe9412dbc8eda
Signed-off-by: Roman Birg <roman@cyngn.com>
(cherry picked from commit af828584ae)
2016-04-25 09:01:44 -07:00
Ricardo Cerqueira
fa10678a8c Prefer SIM carrier name over network carrier
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
2016-04-18 17:56:24 +01:00
Adnan Begovic
63a54165ba SetupWizard: Don't reprompt setup if account already exists.
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
(cherry picked from commit fe7ac15220)
2016-04-14 13:23:00 -07:00
cretin45
4ef9008666 SetupWizard: Wait for data connection
Issue-id: CRACKLING-786

Change-Id: I54ef75ffa8da87d829ce7ce45a7f42ca1ce54732
(cherry picked from commit 763af1265c)
2016-04-08 11:55:29 -07:00
Michael Bestas
bbf7f83834 Automatic translation import
RM-231
Change-Id: I4541f0e56eb0b84ae47a1b2da57ade2e1903dc0b
(cherry picked from commit ac93a6765d)
2016-04-06 08:58:28 -07:00
Michael Bestas
f9fe68cdfa Automatic translation import
Change-Id: I8c171f98bf44f4aa2ac3db1e4e91bbc374e0ba7d
2016-03-28 00:46:36 +03:00
Adnan Begovic
4da02b0881 SetupWizard: Update for themes api changes.
Change-Id: I8d97d43f655bcdc32e5d94d7c844fe1b64919898
TICKET: CYNGNOS-2295
2016-03-25 10:56:27 -07:00
Adnan Begovic
0410f846bb SetupWizard: Fix regression on GMS account setup skip.
If a user skips through google setup, make sure we're handling
  the result correctly.

Change-Id: Ie2385dbd45c187dc1a90eab4a519094eae2caa72
TICKET: CYNGNOS-2258
2016-03-21 11:38:48 -07:00
Adnan Begovic
d114a09647 SetupWizard: Conditionally supress d2d on lack of nfc.
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
2016-03-21 10:21:06 -07:00
Michael Bestas
7de4615eeb Automatic translation import
Change-Id: I6255a0cc02592fd491ae80de174c459b9f0fa7c6
2016-03-18 16:02:15 -07:00
Adnan Begovic
6baab03bd8 SetupWizard: Handle both restore scenarios.
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
2016-03-17 19:22:58 -07:00
Adnan Begovic
57080c360c SetupWizard: Restore last page on setup wizard death.
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
2016-03-17 14:04:25 -07:00
Adnan Begovic
744827989c SetupWizard: Adapt to new GMS tap & go expectations.
Googles SetupWizard expects a specific flow for the restoration
  process -- amend the intent for gms restore to abide.

Change-Id: Idf4c3b813676c5456770627067a42697ab756bb0
TICKET: CYNGNOS-2233
2016-03-16 19:21:33 -07:00