Commit Graph

324 Commits

Author SHA1 Message Date
Michael W
d261c7a60e SetupWizard: Don't show ChooseDataSimActivity on single sim devices
* There is only once choice, no need to ask the user

Change-Id: I5bff265ae7f32679498b3fe9adc568807f12bf6f
2017-07-28 20:23:24 +02:00
TheScarastic
6971663571 SetupWizard: Fix crash when sims are absent
Change-Id: I3e37f78f1c96be1630ea9fde866ce978f9ecf1d8
2017-07-28 19:26:16 +02:00
Michael W
b1dd4299c4 SetupWizard: Fix a few possible NPEs
* Accessing SparseArrays with zero-based indexes can fail due to non-used
  indexes
* mCheckBoxes and mRows should always be accessed with the key they were
  added
-> use keyAt(index) when iterating the SparseArray
-> use the simSlotIndex when iterating the subInfoRecords

BUGBASH-318
BUGBASH-610 (partially)

Change-Id: Ib831c3623dafa5bd7d0c95acfa69f4a686644be6
2017-07-28 19:03:51 +02:00
Abhisek Devkota
fe4f010710 Automatic translation import
Change-Id: I6a0dc02678d693a0076551cdd653f8d6ef4481f2
2017-07-25 20:25:09 -07:00
Abhisek Devkota
32892fdb40 Automatic translation import
Change-Id: Ibd0ee384b5dd7954b71111534eb7d23c1c762e02
2017-07-22 12:42:02 -07:00
Abhisek Devkota
50da943b90 Automatic translation import
Change-Id: If8f6a8efae301dbbfe79c9d2f460d662693d383a
2017-07-07 21:20:12 -07:00
Abhisek Devkota
3ff607b91a Automatic translation import
Change-Id: I71e9acf069ffb424b59905fbd8e4814de1a97107
2017-06-30 22:06:43 -07:00
Aaron Kling
092d0fa892 Disable SetupWraith, the ATV SUW.
SetupWraith currently crashes after the finshed screen, causing
devices to remain unprovisioned.

Change-Id: I9f494158ea11210014eaec9faa48fddcedd968d4
2017-06-24 01:36:43 +00:00
Abhisek Devkota
33b449123d Automatic translation import
Change-Id: Iba0b8a45d54b3cf316f96c0f08d3679eb2e4f3ea
2017-06-22 20:56:23 -07:00
Aaron Kling
d82d392226 The bluetooth pairing page cannot be exited, disable it for now.
Change-Id: Ife3d13a77da7e40a1a5e1963eb164c44cb088f2d
2017-06-17 14:00:39 -05:00
Abhisek Devkota
0f1683789a Automatic translation import
Change-Id: I1a96e317a8085e36cfb7e566e1d15ce654f92324
2017-05-31 20:10:03 -07:00
Abhisek Devkota
4972a32e04 Automatic translation import
Change-Id: Ibd453397604fa6c0dfe52e91ffaad89f7f77102d
2017-05-17 22:22:48 -07:00
Abhisek Devkota
8518aa375c Automatic translation import
Change-Id: I2163e6c58a296b4fef97bc71d1fe3b5e165195da
2017-04-28 15:16:53 -07:00
Abhisek Devkota
e8e7a5475b Automatic translation import
Change-Id: I906f2016a644133073f46770b62268d509ac9734
2017-04-20 12:09:00 -07:00
Abhisek Devkota
cd33504245 Automatic translation import
Change-Id: I574a1fa4a2430de24b94fc826066924fde73509e
2017-03-29 14:25:52 -07:00
Abhisek Devkota
f834d213ea Automatic translation import
Change-Id: I00797f4cfb32b596311193a40201c2e22b13857b
2017-03-20 13:55:09 -07:00
Abhisek Devkota
27662e2ff4 Automatic translation import
Change-Id: I09d63b216c13bb51f7bdf6999182633245966fc3
2017-03-15 13:37:23 -07:00
Abhisek Devkota
281d2655be Automatic translation import
Change-Id: I29e91ae1b977976e028ca213bbfa93b1a1fab465
2017-03-08 14:05:08 -08:00
Michael W
be35cfc91b Automatic translation import
Change-Id: Ic3721132a38816d5e5b024a4101a95c8d67bcc62
2017-03-02 15:45:35 +01:00
cretin45
50cb6ac113 SetupWizard: Remove uneeded category
Change-Id: I1124721da3c6a4a7839ad8dd03aad09c7d595e15
2017-02-27 20:20:32 -08:00
cretin45
0c7b92ad7a SetupWizard: Fix landscape
Change-Id: Ia77596aa63d3efabcdbcde81d2b9c8b7e5f89b4f
2017-02-26 10:22:18 -08:00
Abhisek Devkota
66ac309842 Automatic translation import
Change-Id: I8d7346276e90279b0772558b0a817143c5706d49
2017-02-24 18:54:33 -08:00
Abhisek Devkota
9365fb1c53 Automatic translation import
Change-Id: Idbe2092234d521008d973025e77aa19954e83ce5
2017-02-23 19:17:21 -08:00
cretin45
ec3dcce5a6 SetupWizard: Increment version
Change-Id: I601d5f1d5711654601e03ecaa28a37fad785df42
2017-02-22 16:47:00 -08:00
Harry Youd
63aaa30ba1 SetupWizard: Don't crash when missing Google SUW
If com.google.android.gms is installed when
   com.google.android.setupwizard is not,
our setup wizard crashes.

Fix this by checking Google's setupwizard exists,
and if not, not attempting to launch it.

Change-Id: I6120304dd13dddf07c2769245765a3e98dec51fc
2017-02-22 15:08:02 +00:00
Abhisek Devkota
3ecb352c17 Automatic translation import
Change-Id: Id112ef19c0bef67082a9534925c66d2c37d88268
2017-02-19 15:05:33 -08:00
Luca Stefani
765f0e6249 SetupWizard: Include tests makefile
Change-Id: I37d52ea0789653a668ec514df47924f0280da12d
2017-02-18 16:03:59 +00:00
cretin45
fc2ca45177 SetupWizard: Allow skip of optional screens
Change-Id: I018d0d86a0aa711926c32f172a4d7ece6a095454
2017-02-16 23:03:36 -08:00
Abhisek Devkota
4161a57ccc Automatic translation import
Change-Id: I0a85a818d43cf1ea109119382df4d3efd18547f0
2017-02-16 10:42:22 -08:00
cretin45
d4cea55dd7 SetupWizard: Part 2: Implement new OOBE using custom wizard manager
Change-Id: Ie6beb6395c5a4936384e78d57c95262e302220f9
2017-02-13 19:47:36 -08:00
cretin45
3593f035fc SetupWizard: Part 1: Initial wizard manager conversion
Part 1 implements SetupWizard support if GMS is present.

Change-Id: I0d465a9d84f0c477acc8309511894e9b194762f7
2017-02-12 16:13:34 -08:00
Abhisek Devkota
167ac2cad8 Automatic translation import
Change-Id: Id472254edf099eba0a27901cd6eae161ab690499
2017-02-11 12:42:38 -08:00
Abhisek Devkota
3d3519ea7c Automatic translation import
Change-Id: I0ed7a1aafecc1a0c87c3dc2b184018b2230fa8a8
2017-02-09 14:33:44 -08:00
Abhisek Devkota
42a4e5530c Automatic translation import
Change-Id: Ida75d5275726f4289ed269908ff049024787e88c
2017-02-07 13:43:50 -08:00
Abhisek Devkota
54311c0f1e Automatic translation import
Change-Id: Ibd28d2c38bfd659210ae657b46eb381ef64fab8a
2017-02-04 16:20:46 -08:00
Abhisek Devkota
fdf1c879cd Automatic translation import
Change-Id: I25dfee0b517f5ee7ba8d35f4296556a5cd8cf63e
2017-02-02 02:00:29 +00:00
Luca Stefani
cd34a5865f Build org.cyanogenmod.platform.internal as static library
Change-Id: I5668aef0f1e396e373e92c8f1815ae359255f6bf
2017-02-01 16:25:04 +00:00
Marvin W
4e218b65f0 Remove Google Play Services dependency
PS2: inline hasGms usage, don't use addprefix for a single entry,
     remove unused imports

Change-Id: I1eb1fb76e4b80e26992599e3511d265abbfa1cd7
2017-02-01 02:04:08 +00:00
cretin45
a0cd24724e SetupWizard: Update test app icon
Change-Id: I359ad1c185f982d6ba564138547fadc8cb01d35f
2017-01-26 22:03:03 +00:00
Abhisek Devkota
70bfefd2f4 Automatic translation import
Change-Id: If10dae8f9665d1d232d5642238b91a011440c621
2017-01-25 13:47:38 -08:00
Abhisek Devkota
d86ccbe678 Temp: Always disable D2D since its broken atm
We are working towards a totally new SetupWizard model, so a temp fix
 here will get jettisoned when that merges

Change-Id: I01d5cde69515bb46b54e896a1005fe0ffcdb002c
2017-01-24 21:23:33 +00:00
Joey Rizzoli
52a78fd21c 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-09 14:21:08 +01:00
pinky@build01
b1933751ba Automatic translation import
Change-Id: I1797cf5e0aaee630466617a6f0119d6136c66d6c
Ticket: -
2016-12-24 18:45:22 -08:00
clyde@build01
a6daa27003 Automatic translation import
Change-Id: If4e64c10c125b8d7b1fea32ce3346c5ecd794a12
Ticket: -
2016-12-21 18:28:56 -08:00
pinky@build01
2e1593cfe6 Automatic translation import
Change-Id: I450fad76bd52dcc88b4d81cbc68d5d5afc27d8fc
Ticket: -
2016-12-17 18:36:35 -08:00
Joey Rizzoli
e89bc04ad7 SetupWizard: always prompt the user to setup a lockscreen
Change-Id: I1a7eaaa7646d04c167b99b7cf9cea3bf7c812d69
Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
2016-12-12 20:17:45 +01:00
pinky@build01
4ec9f97c34 Automatic translation import
Change-Id: I29d8db93962f1b64340d84aea92ee052fe45fcca
Ticket: -
2016-12-10 19:08:07 -08:00
inky@build01
dad38709ca Automatic translation import
Change-Id: Idb5503a0b9a4f722f736c0aa2d7ee97544980e2c
2016-12-08 22:51:54 -08:00
Ricardo Cerqueira
3408466848 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
(cherry picked from commit d82b2dc88a)
2016-11-02 14:30:41 -07:00
Diogo Ferreira
58443a8620 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
2016-09-07 17:44:31 +01:00