Commit Graph

183 Commits

Author SHA1 Message Date
Irfan Sheriff
7f9413911d Change wifi sleep policy
Keep wifi sleep policy as never when charged as long as
user has not changed the settings

Bug: 3038345
Change-Id: I37548984698dd3dd407785544d7b418439ed95d0
2011-01-11 15:39:16 -08:00
Amith Yamasani
9587121fe5 Merge "Use a resizable dialog for wifi configuration." into honeycomb 2011-01-07 15:35:31 -08:00
Amith Yamasani
25b69ebccc Use a resizable dialog for wifi configuration.
Bug: 3175152

Use a custom theme that allows the dialog to resize.

Change-Id: I004b91c58d0d1810df50f9bdee9430698f51f8ab
2011-01-07 15:31:35 -08:00
Amith Yamasani
935d6e9309 Don't add wifi entries twice, when returning from another activity.
Bug: 3209730
Change-Id: I7408a56fc10359e508be5a1d27492da2227335ce
2011-01-07 13:13:24 -08:00
Daisuke Miyakawa
8630cde72b Remove unnecessary codes around WifiSettings.
Bug: 3321110
Change-Id: Iaac35a507b8e46e2d4702f0e5cda7b515a57db67
2011-01-06 13:27:36 -08:00
Robert Greenwalt
8a926aa499 Merge "Hide http proxy UI" 2010-12-29 16:26:35 -08:00
Robert Greenwalt
6f3a98bb00 Hide http proxy UI
We don't have support in the media code so rather than confuse the users
with some apps using proxies and some not we'll just turn it off for all
for now.

bug:3283883
Change-Id: If29bb34fce04eab5adc9b5180b70dbfd718cc709
2010-12-29 16:25:28 -08:00
Daisuke Miyakawa
0688f251af Refresh layouts for SetupWizard.
- DateTimeSettingsSetupWizardXL
- WifiSettingsForSetupWizardXL

Bug: 3308677, 3137755
Change-Id: Ifdf67aa7521de7ef0286fea2b15ce693fbf5d5ce
2010-12-28 12:06:08 -08:00
Daisuke Miyakawa
762d264658 Check null on Wifi setup screen.
Bug: 3313432
Change-Id: Id475dbca81be9e8f9a7d61cda062095358a725c1
2010-12-28 09:22:24 -08:00
Irfan Sheriff
ee4c4500d5 Merge "fix wifi checkbox status update" 2010-12-16 15:52:12 -08:00
Irfan Sheriff
cb52d4b4ab fix wifi checkbox status update
Bug: 3277268
Change-Id: Idfabf1be41c5e54cd93695de1bb06164760d7fad
2010-12-16 15:10:26 -08:00
Daisuke Miyakawa
dadf1e53cb Show "not configurable" screen in EAP
Bug: 3175016
Change-Id: If67c0cbf41adee205c8b3eec410e39bc29c2f04d
2010-12-16 10:58:49 -08:00
Daisuke Miyakawa
0333f74b9c Use different text in unsecured network.
We don't show any config UI when network is unsecured, while
Previously we've shown "Enter network configuration" anyway.

Also stop showing network status on StatusText (above
AccessPoint). New network status often appears and instructions
are removed unexpectedly.

Bug: 3175016
Change-Id: I3aa288930a8643e178f7c3897b326b7e00964361
2010-12-16 10:45:23 -08:00
Irfan Sheriff
cdbc80afb2 Use WpsConfiguration for new API
Change-Id: I4c1544178bcb29e751db56edb781faf9145cdf86
2010-12-13 16:00:41 -08:00
Irfan Sheriff
c1bad6bc68 scan immediately when user indicates so
Bug: 3242989
Change-Id: Ia15d7a61a40b64830a7840b7d31e6b5f96b2ad78
2010-12-03 16:22:16 -08:00
Irfan Sheriff
afc2aacf00 Use new config change broadcasts
Bug: 3237735
Change-Id: I29e2807f76d54354bf501b2e7655f49386e6bf95
2010-12-03 14:15:05 -08:00
Irfan Sheriff
582ab4d414 Act on supplicant changes only when disconnected
When wifi network state is disconnected, supplicant
state changes provide more fine grained information to display.
When network is connected, the UI should ignore supplicant
state changes.

Change-Id: I46aa8c2ba80303aae5c74415825102a13cc41380
2010-11-24 09:13:14 -08:00
Irfan Sheriff
52727dd1fb Restore compareTo behavior of access point list
The Comparator with TreeList that was added during
wifi set up changes does not work well since
access point can change later.

Restore the old compareTo behavior.

Change-Id: I75681fea616792e9fd134c0d71762b4e0d46ffd6
2010-11-23 16:55:03 -08:00
Robert Greenwalt
52322a9173 Use separate settings for host and port.
IPv6 uses ':' in addresses so it's a bad thing to use as a separator.
Rather than find another separator we'll just store them separately.
bug:2700664

Change-Id: Ia6c40891ab9f3f44edd65d8ff7a2a1f7a24cf06e
2010-11-19 10:34:31 -08:00
Daisuke Miyakawa
4dd2a5b4f7 Use Handler to delay enabling skip button.
- enable skip button after a while
- stop ignoring wifi status

Bug: 3186913
Change-Id: Ia565f77ecb0d11ad514548774b49d8eda6db4ff8
2010-11-17 10:09:38 -08:00
Daisuke Miyakawa
695dc5e8b6 Remove the limit of available Wi-Fi networks
Change-Id: Ib9cf6753683ecf4d531c76cf1134757ad7d70c47
2010-11-15 10:20:31 -08:00
Daisuke Miyakawa
fdb9343ef6 Stop showing software keyboard when appropriate
This change assumes the structure inside layout file.
We will change the structure inside the layout, so
fundemental fix should come along the layout change.

Also let software keyboard hide when appropriate.
onBackButtonPressed() loses the focus and hiding
the keyboard doesn't work fine after the call.

Bug: 3192886
Change-Id: Ifd28d1f1fd0d6f72dc1c32c066dd793c6f9f36ab
2010-11-12 18:09:23 -08:00
Daisuke Miyakawa
91e9683d8f Set attachToRoot instead of manually doing so.
Bug: 3053354
Change-Id: I065c16cd5af3b438d02d6a0b0da080295e9c17cb
2010-11-12 09:48:08 -08:00
Daisuke Miyakawa
115ea8aa37 Comment out hidden method call.
Bug: 3053354
Change-Id: I5fb5d6eb33e50209c85a95065ac3d0cefb983f6b
2010-11-11 18:28:15 -08:00
Daisuke Miyakawa
40124c30a9 Delay showSoftInput() call.
We need to wait onFocusView() call back for actually showing
software keyboard.

Bug: 3053354
Change-Id: Idd946e3b8a372ddbabb8b36600c77290f77a06e6
2010-11-11 16:58:04 -08:00
Daisuke Miyakawa
dd9fbb0b9e Enable wifi on XL Wifi setup.
In I5b29917af73aac6a82e13ba846a9d5085f9bd523, we removed
relevant code but it was wrong. At least we need to enable
Wifi once when the Activity is created.

Bug: 3186944
Change-Id: I078cdf9b3d8952e6ce7bb3f9b27a4439e82da534
2010-11-11 09:10:07 -08:00
Daisuke Miyakawa
cc13e0b2e4 Add more useful logs.
Bug: 3053354
Change-Id: I917bad7efb55e4155f47257672becbb57995ff7c
2010-11-10 21:33:05 -08:00
Daisuke Miyakawa
c81d3768d2 Add log message for requstFocus()
Bug: 3053354
Change-Id: I0fa20b5036d46fb909e778672bc476aeaf57af76
2010-11-10 18:24:13 -08:00
Daisuke Miyakawa
58b0291fe6 Refactor WiFi code around XL setup
Major:
- move SetupWizard-related codes to WifiSettingsForSetupWizardXL as
  much as possible
- stop using Preference for configurinig wifi network. We use
  WifiConfigUiForSetupWizardXL instead, which is base on a bare View.

Minor:
- change button handling code expecting better readability.
- hide Detail button.
- modify strings a bit.
- add logs

Bug: 3175016
Change-Id: I5b29917af73aac6a82e13ba846a9d5085f9bd523
2010-11-10 15:31:10 -08:00
Irfan Sheriff
47a2d1f445 Merge "Add frequency band control in UI" 2010-11-08 12:24:57 -08:00
Daisuke Miyakawa
3dd06301fa Use custom preference.xml in XL.
A spacer are added on the left side of each preference, which isn't
needed in XL setup screen.

Change-Id: Ie3b8e04b492b4a4840ba1bbda4a413673734fbaa
2010-11-08 12:20:33 -08:00
Irfan Sheriff
fa37a755b5 Add frequency band control in UI
Change-Id: I5a9fa46af358f363b2fe80a8ba7599d13dea5eb7
2010-11-08 09:42:39 -08:00
Elliott Hughes
69afd73f87 Merge "Use InetAddress.isNumeric." 2010-11-04 15:43:30 -07:00
Elliott Hughes
a9a2481dfd Use InetAddress.isNumeric.
Bug: 3073384
Change-Id: I22b03efd7fe267f8b20c06cfc15aa5f0db487ca8
2010-11-04 15:26:22 -07:00
Daisuke Miyakawa
8b3b876c09 Fix UI for WifiSettings for XL screen
Change-Id: I874e1e8d86e8b219414f6bf2ff945ea4f9ab7a6c
2010-11-04 12:44:27 -07:00
Daisuke Miyakawa
f3cd94652f Show "connecting" just after user's connect action
Bug: 3164013
Change-Id: Ide367d51bcd7fcd97403c92ee049a1bb2633e272
2010-11-03 20:12:00 -07:00
Irfan Sheriff
8964a9c830 Remove channel control from debug builds
We dont need this in the UI now that
channel settings is gone. The country
code setting can be done from CLI
for debug purposes.

Bug: 2936741
Change-Id: Ic61abac30af99611af4d67662355068cea6dd4ed
2010-11-01 21:53:54 -07:00
Daisuke Miyakawa
1dc3715e3a Reduce default settings in WifiSetup XL.
We don't want to show every configurations in default, while
we also don't want to complicate basic wifi logics. In order to
achive both goals, we first introduce tweaked xml file
(wifi_config_preference2.xml). It does contain all the
config components but almost all of them are in "gone" visibility.
Those components are still able to act as data storage, but never
be seen as actual UI components.

Change-Id: I4ad3c1b4cbbe77ca2b628b0be25e2b3eb9d645aa
2010-10-29 18:00:36 -07:00
Daisuke Miyakawa
03b99a7141 Supress auto screen migration after wifi connection
Bug: 3133575
Change-Id: Ibf0a6cd8704d55cb5876c76a547a97664c4b82e4
2010-10-26 17:21:34 -07:00
Irfan Sheriff
e45e13f47a UI for wps pin from device
Bug: 3119043
Bug: 3112178
Change-Id: I573146ed0c834cb88d5f42c25fe0be3ed501a321
2010-10-26 09:58:58 -07:00
Daisuke Miyakawa
55de702961 Disable Wifi when a user press cancel in XL setup
Bug: 3122182
Change-Id: Id333b9ede9093fa7fb8aa256b720effa5abf290d
2010-10-21 19:40:16 -07:00
Daisuke Miyakawa
c05efc1df7 UI refresh
Bug: 3110575
Change-Id: Ia6ffef6de8882920b89372052b5e29968bedfe5f
2010-10-19 10:12:50 -07:00
Irfan Sheriff
85ba10524b Merge "Fix issue with limiting access points" 2010-10-10 12:22:04 -07:00
Irfan Sheriff
9cf1b00657 Fix issue with limiting access points
There should not be a limit on the general
settings screen to display access points

Change-Id: I81fd438c7464a229f00dcddca359476d8684a349
2010-10-08 16:08:51 -07:00
Irfan Sheriff
34ce343004 Use LinkProperties in WifiSettings UI
Change-Id: I6f59328173e9550a2822573a9b25517ebbec4024
2010-10-08 14:00:21 -07:00
Daisuke Miyakawa
fef4125d4e Disable buttons during first scan.
Also remove status manager code, as they should not be here.

Bug: 3069020
Change-Id: I6fcf8470066f96b7f608ceb519b0783e44307846
2010-10-06 13:34:18 -07:00
Irfan Sheriff
c5361927f4 Add proxy UI for wifi
bug: 3039302
Change-Id: I6fee69992ea78459f06ef270af5bf857eff93c44
2010-10-06 10:40:44 -07:00
Daisuke Miyakawa
3b6aa41cce Improve UI of WifiSettingsForXL
Change-Id: Idd25251581577246ff3fb6820b9c569454292593
2010-09-29 16:09:42 -07:00
Daisuke Miyakawa
5d3c5cb9d0 Fix misc problems happening in SetupWizard XL
Change-Id: I6ba0813f36625de3d86543953972869657be50be
2010-09-28 16:04:08 -07:00
Daisuke Miyakawa
fe3b6bea01 Disable Status bar in SetupWizard XL.
Bug: 3005211
Change-Id: I468b7d45aceda8fbdc72f723c95c3818c8da20f5
2010-09-27 10:38:12 -07:00