diff options
author | Robert Greenwalt <robdroid@android.com> | 2010-08-13 16:03:29 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-08-13 16:03:29 -0700 |
commit | 993f85f3194000d0eb212f361431c9319548b144 (patch) | |
tree | 5cbea659595a2281cf80b715ee33f4e10fa8f147 /wifi | |
parent | 66b0343e9e32203cdd39b854852cf575ca2fcd6b (diff) | |
parent | e300b8c10c306b575bbbec29d5572ba92a97785e (diff) | |
download | frameworks_base-993f85f3194000d0eb212f361431c9319548b144.zip frameworks_base-993f85f3194000d0eb212f361431c9319548b144.tar.gz frameworks_base-993f85f3194000d0eb212f361431c9319548b144.tar.bz2 |
am e300b8c1: Merge "DO NOT MERGE Always set/remove default routes." into gingerbread
Merge commit 'e300b8c10c306b575bbbec29d5572ba92a97785e' into gingerbread-plus-aosp
* commit 'e300b8c10c306b575bbbec29d5572ba92a97785e':
DO NOT MERGE Always set/remove default routes.
Diffstat (limited to 'wifi')
-rw-r--r-- | wifi/java/android/net/wifi/WifiStateTracker.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/wifi/java/android/net/wifi/WifiStateTracker.java b/wifi/java/android/net/wifi/WifiStateTracker.java index 99f3d06..3d980ac 100644 --- a/wifi/java/android/net/wifi/WifiStateTracker.java +++ b/wifi/java/android/net/wifi/WifiStateTracker.java @@ -1124,7 +1124,8 @@ public class WifiStateTracker extends NetworkStateTracker { setDetailedState(DetailedState.CONNECTED); sendNetworkStateChangeBroadcast(mWifiInfo.getBSSID()); } else { - mTarget.sendEmptyMessage(EVENT_CONFIGURATION_CHANGED); + msg = mTarget.obtainMessage(EVENT_CONFIGURATION_CHANGED, mNetworkInfo); + msg.sendToTarget(); } if (LOCAL_LOGD) Log.v(TAG, "IP configuration: " + mDhcpInfo); // Wi-Fi interface configuration state changed: @@ -2468,7 +2469,8 @@ public class WifiStateTracker extends NetworkStateTracker { resetConnections(true); configureInterface(); if (mUseStaticIp) { - mTarget.sendEmptyMessage(EVENT_CONFIGURATION_CHANGED); + Message msg = mTarget.obtainMessage(EVENT_CONFIGURATION_CHANGED, mNetworkInfo); + msg.sendToTarget(); } } } |