Commit Graph

133 Commits

Author SHA1 Message Date
Roman Birg
3c37b0b69c SetupWizard: update stats permission and package
Change-Id: I3ef19b616422ca5cc0896840753192b1c1712525
Signed-off-by: Roman Birg <roman@cyngn.com>
2015-04-27 13:30:08 -07:00
dhacker29
2a98e6f6f6 Disable the CyanogenServicesPage if FEATURE_LEANBACK detected
TV devices will not benefit from having a CM account.

Change-Id: I5258a1442c400b35d92c22a2b0e8dcbe3516aead
2015-04-25 07:24:49 +00:00
Michael Bestas
3371e61bb8 Automatic translation import
Change-Id: Ifc62c159189df11f3443defc57069ab5b78b644f
2015-04-25 01:30:10 +03:00
dhacker29
218deb9952 If this is a TV device launch bluetooth pairing before Welcome page
TV devices like fugu don't have a default input method and expect to
be able to pair the bluetooth remote during setup without having to
manually initiate it with the bottom button on the device.

Change-Id: I88246fe9b28a85dc334c0108b818e78cb29491bb
2015-04-24 01:32:19 -04:00
dhacker29
de06181c7e WifiSetup: If device has Leanback feature specify tv.settings
Fugu has both com.android.settings and com.android.tv.settings so
currently it brings up a selector dialog for how to handle the wifi
intent, which leads to "Activity is launching as a new task, so
cancelling activity result." Fix this by passing the component name
in the intent if FEATURE_LEANBACK is present

Change-Id: I470590315d3f95a32b7796dd4a916a543392fcd6
2015-04-23 02:31:51 -04:00
Pawit Pornkitprasan
cfc4a0db64 SetupWizard: handle skipping id in SubInfoRecords
This extends I3b4132afccc96a5d08986a3cb902bd384931f21f to actually
work.

Change-Id: I9183626b40edda6a96888dca2816ff116b64bc5e
2015-04-20 15:55:30 -07:00
Pawit Pornkitprasan
dd500a1f42 SetupWizard: don't access SubscriptionController directly
SubscriptionController exists in the telephony process and cannot
be accessed by SetupWizard.

getInstance() will always return null.

Change-Id: I017682d3aad539e1954348664b1c1fec7f76009d
2015-04-20 15:53:19 -07:00
Michael Bestas
317a6cb891 Automatic translation import
Change-Id: I1649ba39d39b73ce351909a310041d6f6b0a99b7
2015-04-17 23:06:02 +03:00
cretin45
f654deb217 SetupWizard: Give radio a 10 second chance to come up
Change-Id: Iadd817b200106783dd67edbc5ad03928ce2baa6b
2015-04-17 03:44:08 +03:00
cretin45
bfd7ca0545 Setupwizard: Make sure to advance if GMS is absent
Change-Id: Ia0c4d83c9a9f7c581208d753024f55f48326afc7
(cherry picked from commit cb09e29e29e64032fba5cfd47e71c4db38b32f20)
2015-04-09 20:36:04 +00:00
cretin45
714be1a490 SetupWizard: Aggressively hide nav bar on soft key devices
Change-Id: Ic23fd7e605a323411fe2f581235ff3ed45bfcaed
(cherry picked from commit 1d7988a4c78aa8a4c768e8ddb8e0ced2c8f8c530)
2015-04-09 20:35:42 +00:00
cretin45
317a15e0eb SetupWizard: Ensure page object isn't null if FM destroyed
Change-Id: Ia794e7656587ca803d02418d3d84d4df5027cd00
(cherry picked from commit 62b79e38809699edf47f8a4fad16fdf706ceaa5e)
2015-04-09 20:35:15 +00:00
Michael Bestas
e68543ad74 Automatic translation import
Change-Id: Ifa97d2292f1ab37a21a8695a53e673f406df706b
(cherry picked from commit cc9467cfbdde503d793ffd27141b6631749c6676)
2015-04-09 20:34:34 +00:00
cretin45
6d63e95342 SetupWizard: Handle all touch events in EnableAccessibilityController
Change-Id: Icf15be21c90d32305a9c1f8b9835eb473acf1f33
(cherry picked from commit 0fde3a04cc62396b524aadb6a1a30f573a4b1b38)
2015-04-09 20:34:18 +00:00
cretin45
e79aa7f0bf SetupWizard: Don't assume order of SubInfoRecords
Change-Id: I3b4132afccc96a5d08986a3cb902bd384931f21f
2015-04-09 13:32:59 -07:00
Aaahh
22df00177f SetupWizard: Disable Checkbox on Resume
Change-Id: Ica6f3043b9b0d3703b6ce6f47a43b5201deb05b7
(cherry picked from commit 9192fc690306c85349b62204cb74f61a1d12edec)
2015-04-09 19:14:13 +00:00
Michael Bestas
645ffa8436 Automatic translation import
Change-Id: Icd2308a33556872fa1564058b8250c60dc1b8372
(cherry picked from commit 6fb3d23f098fbae63334b7bf16506bfecf46ceda)
2015-04-01 02:05:09 +00:00
cretin45
27457414c8 SetupWizard: Lock orientation prior to finish animation
Change-Id: I43a69937e2deb5f55585522fe5d00c51ffdae569
(cherry picked from commit c8e4c29020cb3acd8a8676bf1c60aad82e58888c)
2015-04-01 02:04:23 +00:00
Michael Bestas
b00440ec27 Automatic translation import
Change-Id: I9aa0c0cf342d79ffcdb42e8c87284ad354fc9563
(cherry picked from commit afcf65d6c01b630784cf87927b58449c25a43fdb)
2015-04-01 02:03:40 +00:00
cretin45
76101714d7 SetupWizard: Initialize the nav keys bundle boolean
Change-Id: I50f2ef0fb7226c8b58437b669ca71df436d68ee8
(cherry picked from commit 33683fc2ce0d506c5c69726a112e768684676343)
2015-04-01 02:03:03 +00:00
cretin45
2a01a24066 SetupWizard: Fix regression for devices without custom default theme
Change-Id: Ia223c1b118dbb68e596ff01cf944bc870a321752
(cherry picked from commit 838248ab868a91948fe5d63a0aba50e6dea13643)
2015-04-01 02:02:23 +00:00
cretin45
d0389e4e6e SetupWizard: Fix regression, only init pages once
Change-Id: I1207cb3975daa752a66eb8e9e40635f9a8009509
(cherry picked from commit 83be05d6ecf435be562f397e98e0ad61e5974ecd)
2015-04-01 02:01:32 +00:00
cretin45
dbc1ceb8ca SetupWizard: Better handling of launching into other activities
Change-Id: I4d8dc4a1b25e45c6ff35042239a0adf4c16458f1
(cherry picked from commit ed5d46703ea6aac1c912be114523688f3f8219e8)
2015-04-01 01:59:25 +00:00
d34d
88aba00aa3 Disable theme components for secondary users
This patch is to mitigate theming problems with multiple users.
Once themes properly support multiple users we can revert this.

Change-Id: Idc89a273bc1563fc668ca2a5a591cf133e8d5406
(cherry picked from commit 836f867086ce22c6c9c2c26bba4440177b1d9099)
2015-04-01 01:58:53 +00:00
Michael Bestas
2104b3f5db Automatic translation import
Change-Id: If0a158896a3ec49fb0b32c48c6f426dea4d9b653
(cherry picked from commit c7b84c27939aed6a6f5c6ed28cc9da358bc0f79d)
2015-04-01 01:52:07 +00:00
Roman Birg
98b5eb9958 SetupWizard: don't crash without SIMs
SubscriptionManager may be null

Change-Id: Ia2112044400576a93931474a3fff2af161ccda21
Signed-off-by: Roman Birg <roman@cyngn.com>
2015-03-26 03:44:35 -07:00
Steve Kondik
c225cd58f7 setupwizard: Adapt to MR1 multisim APIs
Change-Id: Icb5bad076fe5a5e8a26befc5bedd04981c374117
2015-03-22 17:18:31 -07:00
cretin45
bfde63c27c SetupWizard: #blamethemes
Themes keep breaking the handle themeConfig flag. This provides a workaround for cases the activity gets torn down during the finish process.

Change-Id: I6664ded3dfff5b69c1217f89f25106953cb5f92a
2015-03-13 16:18:24 -07:00
cretin45
0ed67f547c SetupWizard: Only go through OOBE if owner
Change-Id: I3886119d0d6fd69f18ea23d4b6435da75280dbf8
2015-03-12 13:50:19 -07:00
cretin45
f66c56b62f SetupWizard: Only update network state when resumed
Change-Id: Id018bf0ed4d9c54a1d6d57d53749c265b1d0e269
2015-03-11 17:14:22 -07:00
cretin45
77fce341b1 SetupWizard: Update legal link
Change-Id: I1389dbb3e7e0ba3b7db992fdef02f4c8fdc1692d
2015-03-11 09:59:24 -07:00
cretin45
0d31b31aac SetupWizard: Refactor for better transitions out of OOBE
Change-Id: If91da3f44dbc5383236b54da529953d48a475250
2015-03-09 14:49:31 -07:00
Scott Mertz
7732b7485d SetupWizard: move to CmHardwareService
Change-Id: I9413151fe307d23196ea5736dc8c50966a43a7cc
2015-03-07 00:56:09 +00:00
Michael Bestas
7faec91e22 Automatic translation import
Change-Id: Ie14f953a377b6d9410c6b5b386334e153abd4964
2015-03-06 22:14:59 +00:00
cretin45
7c8e091320 SetupWizard: Fix race condition on finish
Change-Id: Ie4a5893c49db7ce9622091e05776cb5523ed5c45
2015-03-06 14:01:53 -08:00
cretin45
226687c0b2 SetupWizard: Make sure we have this activities themechange listener
Change-Id: Iae69f1d7df2b3c032a187eda3593ea83fe0d9196
2015-03-05 13:58:01 -08:00
cretin45
ef4cd78d5f SetupWizard: Add metrics for internal builds that ship with CMStats
Change-Id: Id932a105c18332e32605530d1502ff99b7cf380a
2015-03-04 13:08:00 -08:00
cretin45
c9c13f20c9 SetupWizard: Add callback for actions to run post finish
Change-Id: Ifa62c94f61afbe33a97a66dc0acb72e303023579
2015-03-03 12:31:16 -08:00
cretin45
4e192fd22b SetupWizard: Darken the button bar text
Change-Id: Ie56d4726c6191f603b15bcc112c8b2bdabd53fc5
2015-03-03 12:07:31 -08:00
cretin45
2ed0fae81e SetupWizard: Update legal link
Change-Id: I7fddeac0a5da34906169bcd89a3f308a8463759e
2015-03-02 12:42:39 -08:00
cretin45
bce5500e27 SetupWizard: Make sure fragment is attached in callback
Change-Id: Id492defa4c1d9bcad87311250a5f62fa046ee381
2015-02-27 17:24:32 -08:00
Michael Bestas
ec7edd5154 Automatic translation import
Change-Id: I39a444b2b346bebabe2ada088bdb58422ece13fe
2015-02-28 02:23:59 +02:00
Adnan
da8333a352 SetupWizard: Update setting constants.
Change-Id: I6d6070b3bdeaf8caf55f8c7d5fa3a54ab2d088bc
2015-02-26 18:15:56 -08:00
cretin45
1a6841815e SetupWizard: Images to get overlayed on mass market devices
Change-Id: I5be1419b75604478939846332a23ff1fdfb232ca
2015-02-25 15:33:36 -08:00
cretin45
01f21da16b SetupWizard: Add option to apply default theme if one exists
* A bunch of code cleanup/refactoring to make this work

Change-Id: I059fb5fa5bcd7dd8821e993218a320554f10a314
2015-02-25 14:59:06 -08:00
cretin45
1d54e5207a SetupWizard: Auto advance sim missing page if sim inserted
Change-Id: I3105a264bb9ae13c513398ae19d541ae194b7331
2015-02-23 16:03:47 -08:00
cretin45
d385c7e906 SetupWizard: Fix race conditions with async callbacks
Change-Id: Ifeeec3ac74b4644bb26b9f90d0159a64b173785b
2015-02-23 15:58:21 -08:00
cretin45
d7e70040b7 SetupWizard: Refactor context type
Context is assumed to be SetupWizardActivity and blindly cast. Just make the Context reference a SetupWizardActivity.

Change-Id: I3d7ffd08980fbff0fbea51b45b28002b49813038
2015-02-23 14:33:07 -08:00
cretin45
c4584a78e3 SetupWizard: Ellipsize long text in button bar
Change-Id: Id71b60b449545aeb92bd2325c8ded769bee8e014
2015-02-23 13:46:35 -08:00
cretin45
822c7ec5f8 SetupWizard: Remove accessibilty geture check
Change-Id: I6cee55773405cc057f0b1e343c93b9f1588666a4
2015-02-23 13:13:22 -08:00