packages/apps/Settings
Revisão | f448c32d9b4718e657fd4811f43d8df0f9d921af (tree) |
---|---|
Hora | 2011-06-08 05:54:53 |
Autor | Irfan Sheriff <isheriff@goog...> |
Commiter | Android (Google) Code Review |
Merge "Fix UI settings display issues" into honeycomb-LTE
@@ -207,11 +207,12 @@ public class WifiConfigController implements TextWatcher, | ||
207 | 207 | mIpSettingsSpinner.setSelection(STATIC_IP); |
208 | 208 | } else { |
209 | 209 | mIpSettingsSpinner.setSelection(DHCP); |
210 | - //Display IP addresses | |
211 | - for(InetAddress a : config.linkProperties.getAddresses()) { | |
212 | - addRow(group, R.string.wifi_ip_address, a.getHostAddress()); | |
213 | - } | |
214 | 210 | } |
211 | + //Display IP addresses | |
212 | + for(InetAddress a : config.linkProperties.getAddresses()) { | |
213 | + addRow(group, R.string.wifi_ip_address, a.getHostAddress()); | |
214 | + } | |
215 | + | |
215 | 216 | |
216 | 217 | if (config.proxySettings == ProxySettings.STATIC) { |
217 | 218 | mProxySettingsSpinner.setSelection(PROXY_STATIC); |
@@ -509,6 +509,7 @@ public class WifiSettings extends SettingsPreferenceFragment | ||
509 | 509 | WifiManager.EXTRA_NETWORK_INFO); |
510 | 510 | mConnected.set(info.isConnected()); |
511 | 511 | changeNextButtonState(info.isConnected()); |
512 | + updateAccessPoints(); | |
512 | 513 | updateConnectionState(info.getDetailedState()); |
513 | 514 | } else if (WifiManager.RSSI_CHANGED_ACTION.equals(action)) { |
514 | 515 | updateConnectionState(null); |