• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

packages/apps/Settings


Commit MetaInfo

Revisãof448c32d9b4718e657fd4811f43d8df0f9d921af (tree)
Hora2011-06-08 05:54:53
AutorIrfan Sheriff <isheriff@goog...>
CommiterAndroid (Google) Code Review

Mensagem de Log

Merge "Fix UI settings display issues" into honeycomb-LTE

Mudança Sumário

Diff

--- a/src/com/android/settings/wifi/WifiConfigController.java
+++ b/src/com/android/settings/wifi/WifiConfigController.java
@@ -207,11 +207,12 @@ public class WifiConfigController implements TextWatcher,
207207 mIpSettingsSpinner.setSelection(STATIC_IP);
208208 } else {
209209 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- }
214210 }
211+ //Display IP addresses
212+ for(InetAddress a : config.linkProperties.getAddresses()) {
213+ addRow(group, R.string.wifi_ip_address, a.getHostAddress());
214+ }
215+
215216
216217 if (config.proxySettings == ProxySettings.STATIC) {
217218 mProxySettingsSpinner.setSelection(PROXY_STATIC);
--- a/src/com/android/settings/wifi/WifiSettings.java
+++ b/src/com/android/settings/wifi/WifiSettings.java
@@ -509,6 +509,7 @@ public class WifiSettings extends SettingsPreferenceFragment
509509 WifiManager.EXTRA_NETWORK_INFO);
510510 mConnected.set(info.isConnected());
511511 changeNextButtonState(info.isConnected());
512+ updateAccessPoints();
512513 updateConnectionState(info.getDetailedState());
513514 } else if (WifiManager.RSSI_CHANGED_ACTION.equals(action)) {
514515 updateConnectionState(null);