Commit Graph

407 Commits

Author SHA1 Message Date
Russell Brenner
56a166e9e3 Added info about why Wi-Fi is required
Added a new optional textview to wifi settings, informing that wifi
is required during setup. For use on Nakasi 3G.

Bug: 7383934
Change-Id: I231472438e61ccddedc1e680a362f90738d64a2d
2012-10-19 18:55:14 -07:00
Jeff Sharkey
860eceba2c More migration to Global settings.
Bug: 7375796
Change-Id: I43079368c32e91e8bb75b00377cd57d1766f15d4
2012-10-18 15:38:42 -07:00
Russell Brenner
553074f0fc Merge "Return RESULT_OK when wifi connection established" into jb-mr1-dev 2012-10-10 10:31:59 -07:00
Irfan Sheriff
ba50175b1c Have poor network avoidance turned off by default
Bug: 7318044
Change-Id: I1c86ffd2dae168a3eb35f08cd09096a7f28de2a9
2012-10-09 16:18:36 -07:00
Russell Brenner
3067fbce2e Return RESULT_OK when wifi connection established
Two new exit points were not setting a return result. Since the
default result for an activity is RESULT_CANCEL, Setup Wizard was
continuing as if no connection was made.

Bug: 7298234
Change-Id: I44085f38ed021b7d417f9794b3341747f00300e9
2012-10-09 16:17:12 -07:00
Russell Brenner
88c9f2889f Show warnings when skipping Wi-Fi connection
If user skips over Wi-Fi, warn about possible carrier data charges or
inability to receive updates, depending on whether or not phone
service is available.

Note to translators: Some strings are being moved here from setup
wizard. They're tagged with their msgid's so as not to trigger
retranslation.

Bug: 7211786
Change-Id: Idec7863377bd453d1808b26ee3da75f8310b32e0
2012-09-28 10:51:31 -07:00
Wink Saville
b08739003a Merge "Fix an NPE in WifiSettings." into jb-mr1-dev 2012-09-27 18:14:45 -07:00
Wink Saville
001e14a118 Fix an NPE in WifiSettings.
Under stressful conditions, like the Monkey tests, getActivity() can
return null. We assume this occurs when the fragment has shut down but
asynchronous commands are returning results. This change adds appropriate
null checks but assumes during normal operation the checks are not needed.

Bug: 7152711
Change-Id: I7a3736ccead33738dab1a36e78ae1d8042db6e94
2012-09-27 16:16:15 -07:00
Russell Brenner
2c84b9f23c Merge "Move super call to top of onActivityCreated" into jb-mr1-dev 2012-09-27 15:14:27 -07:00
Jeff Sharkey
08aafd445f Clean up Global settings stragglers.
Bug: 7242121
Change-Id: Ibe62c70f88c946e46a0604a6999b5ca18ac18a1e
2012-09-26 17:11:43 -07:00
Jeff Brown
a2806b661f Update references to migrated global settings.
Bug: 7231172
Change-Id: Ia4abbb6f897e93ebe38e6536fac7411b96eb2bb5
2012-09-25 15:22:01 -07:00
Russell Brenner
852cfa9335 Move super call to top of onActivityCreated
The historical reasons for not calling super.onActivityCreated early
on appear to be no longer relevant.

Bug: 6935999
Change-Id: I63aad8a4c70ce938ecb07541267cad44e3e18e13
2012-09-20 14:07:41 -07:00
Irfan Sheriff
fb6faab59e Fix strings
Bug: 7182012
Bug: 7071211
Change-Id: I34aa508d5e4151ffdc538a3ab9ae1ddf3749b345
2012-09-18 21:03:42 -07:00
Christopher Tate
df5a62e30b Don't crash during setup of secondary users
Make sure to call super.onActivityCreated() even in the short-circuit
case where there's an early 'return'.  This has probably been broken
for a long time but was never exercised while bringing up a new-from-
scratch device, but is the usual code path now for secondary users.

Change-Id: I0c1a5116440908d65750133689507917307e1dcd
2012-09-12 14:27:43 -07:00
Christopher Tate
acee16f5ce Wifi settings are in a different namespace now
Bug 7144874

Change-Id: I9d004f7e9d33c821fb64cf789036b6b4e0a23a8e
2012-09-11 14:53:25 -07:00
Christopher Tate
6a5929b086 Update Settings app to use new namespace for airplane-mode settings
Bug 7132230

Change-Id: I0253637e6d464afc229cf11ffe69852bf44fe261
2012-09-10 15:46:17 -07:00
Christopher Tate
5a64c739bf Update Settings app to manipulate now-global settings properly
Change-Id: I6c269051c7d2db87f70f44df74e06456588c3b6f
2012-09-07 13:35:31 -07:00
Jean-Baptiste Queru
72d3f85d09 am 300457ba: am 38ce5194: Merge "Enable to delete a stored persistent group from p2p settings."
* commit '300457bad289f547430da21e72747e8840840832':
  Enable to delete a stored persistent group from p2p settings.
2012-08-28 11:15:22 -07:00
Yoshihiko Ikenaga
f3f14665a3 Enable to delete a stored persistent group from p2p settings.
Enable to delete a stored persistent group from p2p settings.
The multilingualization has NOT been done yet.

Change-Id: I84bd89343c9e3ce5e62b8b96dfce9d286675b145
Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
2012-08-28 15:16:38 +09:00
Irfan Sheriff
21d07b954a Update view on UI thread
Bug: 6970872
Change-Id: I05bec7cb8a8292de522cbfe11c0ecd5a79375014
2012-08-22 11:37:20 -07:00
Irfan Sheriff
aae0659e18 Setting to turn off power optimizations
Bug: 5885175
Change-Id: I55bfabdffea95d151af6bb4d9da9137124bcb763
2012-08-09 15:16:07 -07:00
Irfan Sheriff
0cd75608c0 Merge "Use updated WifiManager API" 2012-07-25 12:25:42 -07:00
Irfan Sheriff
5cd1bbda7d Use updated WifiManager API
Change-Id: Ia02fc8a7eafa84fa4eddeeefafa7fecaac82903e
2012-07-25 09:58:46 -07:00
Fabrice Di Meglio
79d8e80a30 Make Settings app aware of layout direction
- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: I696c0f66a16640af767da3c05b5d300fd2284ecb
2012-07-24 15:02:12 -07:00
Irfan Sheriff
7c8363eb11 am d80ff0a4: Merge "wifi: update text displayed during hotspot on/off"
* commit 'd80ff0a4d615bd6f037483bf9dc2b10887d9507f':
  wifi: update text displayed during hotspot on/off
2012-07-03 12:18:33 -07:00
Russell Brenner
58d6ffc5f5 Disable notification alerts in Settings for SUW
When activated by Setup Wizard, disable notification alerts and other
status bar flags as also done by Setup Wizard and GSF.

Bug: 6645469
Change-Id: I43ef5c2a5fa3f53434a1aaa968de50d91b0d78ce
2012-06-11 17:50:44 -07:00
Irfan Sheriff
15a279231f Fix crash when accessibility is on
Bug: 6600699
Change-Id: I9eb8b9871d1368bd7508873951d5719e1f2ba826
2012-06-04 10:22:43 -07:00
Irfan Sheriff
c26c2f2204 Merge "Fetch peers after preferenceScreen is ready" into jb-dev 2012-05-31 15:04:53 -07:00
Irfan Sheriff
a9d76b3bcc Fetch peers after preferenceScreen is ready
Bug: 6450152
Change-Id: Ic95c7fdba5fa7cb54b0c54ed9a423e0e0683ad2f
2012-05-31 12:44:03 -07:00
Irfan Sheriff
5388bc88bd Merge "Fix poor network detection setting" into jb-dev 2012-05-31 12:22:30 -07:00
Irfan Sheriff
f0780a7cad Fix poor network detection setting
We used to base this on watchdog being turned on, but it should
be based on whether device is wifi only

Bug: 6576101
Change-Id: Ib5221287e6713c625d39ef986ceb278825fb4895
2012-05-31 11:15:41 -07:00
Amith Yamasani
5864701197 Retain text in Rename Device dialog.
Also, show the current device name in the dialog, if available.

Bug: 6508967
Change-Id: I34d420e197796352aeab74121bdee55c2d2854d7
2012-05-29 13:19:26 -07:00
Michael Kolb
9d5a6eb4d7 Match setup wizard wifi settings with new wireframes
Bug: 6521472

Change-Id: I159d8a98327ad775b2c5ccfc7380d60d62b54dad
2012-05-23 11:19:47 -07:00
Andrew Flynn
2e39ebfeaf Update WPS Dialog
- Remove title
- Change description text
- Add WPS icon

Bug: 6457246
Change-Id: Icd37261dd3ce920b3bed359ed5232bdc018916fc
2012-05-22 11:22:02 -07:00
Irfan Sheriff
ee7589c02a Merge "Fix p2p settings crash" into jb-dev 2012-05-18 15:10:41 -07:00
Irfan Sheriff
db3d4bb8c4 Fix p2p settings crash
- Restore on orientation change
- Use appropriate string for dialog

Bug: 6456079
Bug: 6463563
Change-Id: I1fa0b90a14d09608b580ebf3d66b92fc8721eae7
2012-05-18 13:27:05 -07:00
Michael Kolb
b5f006bf97 Add seperate activity for setup wizard wifi picker to adjust theme
Bug: 6517721

Change-Id: I639122435161cd4816b82ab73f91ebbcd2df027e
2012-05-18 11:23:48 -07:00
Russell Brenner
1c0a8f953b Merge "Wifi select screen redlines" into jb-dev 2012-05-17 12:49:15 -07:00
Irfan Sheriff
4837a691ce Use icons in wifi settings
Bug: 6469022
Change-Id: I1bbd7681f3800db9387eb998da78cf0a42109600
2012-05-16 14:12:35 -07:00
Russell Brenner
fc86669031 Wifi select screen redlines
Bug: 6458336

Use proportional layout when wifi settings is used
by setup wizard

Change-Id: I91f50df29b23b1bece9cbd65a1426f8bc8d7c7f7
2012-05-16 11:11:15 -07:00
Russell Brenner
e99006f75b Merge "Add wps icon to wifi panel" into jb-dev 2012-05-15 20:28:38 -07:00
Russell Brenner
fc1281e6a8 Add wps icon to wifi panel
Bug: 6449333
Change-Id: Iba74e895105253594bcfe8f0d98353714a816065
2012-05-15 16:16:43 -07:00
Irfan Sheriff
53fa78fcb2 Merge "Push wifi direct to overflow menu" into jb-dev 2012-05-15 11:39:02 -07:00
Irfan Sheriff
0c925dc715 Push wifi direct to overflow menu
Bug: 6469022
Change-Id: I62e4b4372416a5fbaf43a52be71f7291b761997b
2012-05-15 11:32:21 -07:00
Kenny Root
72a84b78d0 Merge "WiFi: only send engine setting when key_id is set" into jb-dev 2012-05-11 15:49:31 -07:00
Kenny Root
6a6656641c Strip off phase2 prefix when setting spinner
The writing and reading code for phase2 settings were asymmetric so the
phase2 spinner would always be set as "None". This change strips off the
prefix to set the spinner.

Bug: 6482316
Change-Id: Iaaa1088ec22625f1b8e3974c8a9610cccf0dda90
2012-05-11 12:18:55 -07:00
Kenny Root
f543a71e7a WiFi: only send engine setting when key_id is set
For EAP methods that don't need a key, don't set the engine settings or
else wpa_supplicant will have an error. Instead, look to see whether
key_id is set and use that to indicate when the engine should be
set.

Additionally, don't require keystore when key_id is not null but is
still an empty string.

Bug: 6480500
Change-Id: I137de47dfcbbd3da24d693701e249e15d7528228
2012-05-11 10:02:19 -07:00
Russell Brenner
44a49ed67e Include Add Network button for Setup Wizard
To allow first-time users to set up on networks with hidden SSID,
include this button on the action bar. Temporarily using
placeholder text until artwork is available.

Bug: 6446220
Change-Id: I437ad3f37b42b93f7a0c6838cbb0c5090073e32d
2012-05-09 22:34:39 -07:00
Andrew Flynn
0575736cdc Allow WiFi picker to exit after a valid connection is made
Choice is passed in via boolean extra and has two effects:
* A valid network connection exits the picker.
* The next button (if there is one) is hidden.

This functionality will be used for SetupWizard initially.

Bug: 6428046
Change-Id: Ieeed3a9f1013cccd76bd4762131747a57a38ce9c
2012-05-08 15:50:45 -07:00
Andrew Flynn
bfff317559 Hide Back button when requesting intent says to
Change-Id: I79ed35843500f20367568510ea8df3afe543ede8
2012-05-08 13:50:53 -07:00