Commit Graph

287 Commits

Author SHA1 Message Date
Abhisek Devkota
8e4d28373e Automatic translation import
Change-Id: I68c7bfb70bbff64860a61f174edd8199cb51191e
2017-02-01 23:12:47 -08:00
Abhisek Devkota
8e68f64496 Automatic translation import
Change-Id: Ica6ff64c79d0dedb2695d556ad100c569eca6694
2017-01-26 15:03:59 -08:00
Joey Rizzoli
d1331884a1 SetupWizard: rebrand to LineageOS
* Rebrand UI
* Add privacy guard to setup
* Disable Cyngn inc MOD platform and account setup
* Make privacy policy view-able again

Change-Id: Iacd60886992ca72d3f75bb21a905d612432751fc
Signed-off-by: Joey Rizzoli <joey@lineageos.it>
2017-01-14 18:36:57 -08:00
Diogo Ferreira
65d6ac1299 SetupWizard: Don't show wifi setup on wifi-less devices
Altough uncommon, development boards and emulators don't have a wireless
interface. In those cases, don't show the wireless setup page.

Change-Id: I0017b2277defdccf7f0bd61cb9606254509f78cc
2017-01-14 18:33:13 -08:00
blinky@build01
35b91edd9a Automatic translation import
Change-Id: I260ebdae6d71478a05b3b268146cd138208ef107
Ticket: -
2016-12-24 17:27:54 -08:00
blinky@build01
584f1f3ef3 Automatic translation import
Change-Id: I1e8e33c66d63025efc7358dd39287693339350b6
Ticket: -
2016-12-21 17:19:09 -08:00
clyde@build01
694b0ddcb1 Automatic translation import
Change-Id: I8122e3ca9b757db5a49a5780929199916ad24680
Ticket: -
2016-12-16 17:43:03 -08:00
pinky@build01
bb68c41881 Automatic translation import
Change-Id: Ie5df4348e69d0fa554827fe3e125dd76b08b5472
Ticket: -
2016-12-15 18:13:16 -08:00
inky@build01
9a819bc6f7 Automatic translation import
Change-Id: I6ed71ae38cc9c9e3680ce49f51cfd88683e9cf3e
Ticket: -
2016-12-02 16:57:19 -08:00
inky@build01
ed946208c3 Automatic translation import
Change-Id: I8ac6b52a6022bba1020c14e71f6202789ded3d81
Ticket: -
2016-11-29 09:39:35 -08:00
Ricardo Cerqueira
d82b2dc88a GmsAccount: If there's no network and FRP isn't enforcing, skip GMS
The current version of GMS's SuW has the main activity return as
CANCELED when no network is available. This is the same result as
an actual cancellation (by pressing "Back"), and there's no extra
data to distinguish the two, so the user gets stuck in a loop between
the "no network" page and the one preceding it, unless connectivity
is somehow established. Making connectivity mandatory for OOBE isn't
acceptable, so skip GMS entirely if network is absent (and FRP
isn't enforcing). The only thing it was presenting was a "you
have no network" dialog anyway.

Change-Id: I2abadc79a0823e94da7d3a875ce6db8eae8f143b
2016-10-25 23:42:58 +01:00
pinky@build01
cca206faa1 Automatic translation import
Change-Id: Ib1059b65c777992f1c77d4782afe85a748b0412d
Ticket: -
2016-09-25 00:15:37 -07:00
clyde@build01
1fc92a0531 Automatic translation import
Change-Id: I320be603372ecd0cb707f0dcff5f10997f82d197
Ticket: -
2016-09-06 20:06:45 -07:00
pinky@build01
bf4e5531ce Automatic translation import
Change-Id: Ibc2d2268dca3781af921c3cfb7d92aff3d93962b
Ticket: -
2016-08-29 14:01:44 -07:00
pinky@build01
8afa93da6c Automatic translation import
Change-Id: I1bfecb259985bcce1de6df6e8481fd650c2226ad
Ticket: -
2016-08-27 14:22:33 -07:00
Ricardo Cerqueira
8331602e94 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 03:38:54 -07:00
blinky@build01
3dce293b18 Automatic translation import
Change-Id: I7909d7f8367c82e6784befba3909e0185fd2bb50
Ticket: -
2016-08-07 19:27:43 -07:00
clyde@build01
aafff03d75 Automatic translation import
Change-Id: I3fbd2b131cc763624162f20ac2722542e2f4d935
Ticket: -
2016-07-27 12:19:20 -07:00
blinky@build01
739026aa87 Automatic translation import
Change-Id: Ic6c6b5ac1bdeeda63bad13571f84706702344324
Ticket: -
2016-07-25 11:49:03 -07:00
blinky@build01
af36bfb798 Automatic translation import
Change-Id: I40dfc1caf710a2e105f46778efeb8975a2859b69
Ticket: -
2016-07-24 13:43:47 -07:00
inky@build01
ad287f7167 Automatic translation import
Change-Id: I55bcdf977f6befa05abe3c7aa44a53f5d7270162
Ticket: -
2016-07-22 12:04:59 -07:00
pinky@build01
653d79c7d4 Automatic translation import
Change-Id: I06a77daadebf1f6d98f5c917400815d1b29ad6da
Ticket: -
2016-07-21 11:19:22 -07:00
clyde@build01
7158d4de8b Automatic translation import
Change-Id: Ic1eb28693004337c124b443e0f9b4d2a9a462152
2016-07-19 13:47:19 -07:00
pinky@build01
8bc74d5aeb Automatic translation import
Change-Id: Ib097aa26cb3321afd1bb431dc00320065ff69066
Ticket: -
2016-07-16 09:43:01 -07:00
Luis Mejia
b31e14b835 Replaced last panel with ModGuide panel.
- Created and added ModGuide panel.
- Added the ability to chnage navigation color.
- Added the ability to start an app after wizard completion.

Issue-Id: MSC-14
Change-Id: I8e17735d1a9edbd529339982981f8270cde83d96
2016-07-14 19:27:13 -07:00
Ricardo Cerqueira
7c1cf5a232 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
2016-07-14 04:04:00 -07:00
Ricardo Cerqueira
3ebea2fb6d 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
2016-07-14 04:03:45 -07:00
clyde@build01
07c44c4467 Automatic translation import
Change-Id: I11ce4a23dd7fdddb4987ff91ccde38c41ae0ac86
Ticket: -
2016-07-11 17:09:44 -07:00
Bharadwaj Narasimha
10a58d25fd SetupWizard: Handle ActivityNotFoundException in LoadingFragment
Handle the possibly thrown ActivityNotFoundException.Changed the generic catch block into a specific catch block to handle ActivityNotFoundException.

Change-Id: Ica1106bab3e569aaa7883898ce6adb3a1a2dd99f
2016-07-08 11:03:14 -07:00
inky@build01
20037b7ae9 Automatic translation import
Change-Id: I1687e147e7b2c14a8cf5ccd49572f4baea5e66ae
2016-06-29 10:50:31 -07:00
inky@build01
b62056b354 Automatic translation import
Change-Id: I77c27bad469445b9ece67c02317fdc073aa1a7aa
2016-06-17 14:02:02 -07:00
inky@build01
73d56b4d76 Automatic translation import
Change-Id: I7e13ca1c1f966375c419fc463d30ee3c8fda5cf9
2016-06-01 12:02:42 -07:00
Jessica Wagantall
6476f1bc9d Automatic translation import
Change-Id: I6aadeadde4f69553311dc712fd11f27e886b899a
Ticket: RM-214
2016-05-26 18:57:53 -07:00
cretin45
4981bc9888 SetupWizard: Ensure language picker is enabled onResume
Issue-id: FEIJ-559

Change-Id: Iafe0467fc4130074ce86fe5f28b215d4774dc50e
2016-05-23 14:18:12 -07:00
cretin45
334c00f437 SetupWizard: Use proper CMSetting for soft keys option
Issue-id: CYNGNOS-2842

Change-Id: I5ab75d9d90d79b66fa9b10f011272fc0090a78dd
2016-05-15 10:54:37 -07:00
Abhisek Devkota
df3662581a Automatic translation import
Change-Id: Icc4bf7d7a12df03e99a9774e6fbd0c54bf678f6c
2016-05-14 11:18:02 +02:00
cretin45
36f15ef169 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
2016-05-13 15:40:51 -07:00
Michael Bestas
44026d9007 Automatic translation import
Change-Id: I4969f65738f203c9b383f743b05731870eea6b01
2016-05-10 18:38:36 +03:00
cretin45
d35618baef SetupWizard: Run as com.android.wizard task affinity
Issue-id: FEIJ-254

Change-Id: Ib841e7dd82d900150229e99ca01f97dfed6bcde9
2016-05-02 12:24:46 -07:00
Michael Bestas
f06305a9eb Automatic translation import
Change-Id: I351b91a5c30fc8963f622f1b18051c048114fd38
2016-04-29 01:27:58 +03:00
cretin45
635504813a SetupWizard: Add Mod disovery language for mod ready devices
Issue-id: CYNGNOS-2566

Change-Id: If88d2d62b5d2175ffe857d45dd9f6ce132129f2a
2016-04-27 12:39:52 -07:00
cretin45
8109277755 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
2016-04-27 10:35:48 -07:00
cretin45
941aa1e1e2 SetupWizard: Handle register theme change listener crash
Issue-id: FEIJ-84

Change-Id: I8ffca77418702f04328ae7d0581ab8cc316a04e8
2016-04-26 11:15:48 -07:00
cretin45
2e75c4ee04 SetupWizard: Fix test app building
Ticket: CYNGNOS-2431

Change-Id: I75249f0bbb6e59f47e4a30608bb63b42c93c6e37
2016-04-26 10:52:45 -07:00
Roman Birg
af828584ae SetupWizard: GMS page controls the next step
Ticket: CYNGNOS-2533
Change-Id: Icf7dc1de653d18ac60ddfa52dddbe9412dbc8eda
Signed-off-by: Roman Birg <roman@cyngn.com>
2016-04-25 09:00:59 -07:00
Roman Birg
fccccda787 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>
2016-04-22 08:29:40 -07:00
Ricardo Cerqueira
e5c2b92590 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:55:06 +01:00
Michael Bestas
4082d3a7ab Automatic translation import
Change-Id: I5b54fcd2848c07798c9a4a18a9c4d050dfbf782b
2016-04-16 21:00:27 +03:00
Adnan Begovic
fe7ac15220 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
2016-04-14 12:59:25 -07:00
Dave Kover
c8c765c2b5 Update the theme apply label string
More expressive and specifically calls out two components most
likely to be included.

Change-Id: Ied32d53f308b3fa9fea65a77524c7e3729c52f06
Ticket: CYNGNOS-2085
2016-04-13 11:45:46 -07:00