diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2013-11-27 00:52:41 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2013-11-27 00:52:42 +0000 |
commit | f226bc606af9ce5aceff6b05fc4b0200c94cb248 (patch) | |
tree | 77b62a5155168d9376a382829549709e4cee695b /wifi | |
parent | 9e6d8f04940fd710ae858ff7ee4df43eb03ea85e (diff) | |
parent | 5ad421a3d00c92c155d57af9d1a05d81cc2fa88f (diff) | |
download | frameworks_base-f226bc606af9ce5aceff6b05fc4b0200c94cb248.zip frameworks_base-f226bc606af9ce5aceff6b05fc4b0200c94cb248.tar.gz frameworks_base-f226bc606af9ce5aceff6b05fc4b0200c94cb248.tar.bz2 |
Merge "Use LinkAddress in address notifications."
Diffstat (limited to 'wifi')
-rw-r--r-- | wifi/java/android/net/wifi/WifiStateMachine.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/wifi/java/android/net/wifi/WifiStateMachine.java b/wifi/java/android/net/wifi/WifiStateMachine.java index 4bc3dda..60c7f03 100644 --- a/wifi/java/android/net/wifi/WifiStateMachine.java +++ b/wifi/java/android/net/wifi/WifiStateMachine.java @@ -240,24 +240,24 @@ public class WifiStateMachine extends StateMachine { } @Override - public void addressUpdated(String address, String iface, int flags, int scope) { + public void addressUpdated(LinkAddress address, String iface, int flags, int scope) { if (mWifiStateMachine.mInterfaceName.equals(iface)) { if (DBG) { log("addressUpdated: " + address + " on " + iface + " flags " + flags + " scope " + scope); } - mWifiStateMachine.sendMessage(CMD_IP_ADDRESS_UPDATED, new LinkAddress(address)); + mWifiStateMachine.sendMessage(CMD_IP_ADDRESS_UPDATED, address); } } @Override - public void addressRemoved(String address, String iface, int flags, int scope) { + public void addressRemoved(LinkAddress address, String iface, int flags, int scope) { if (mWifiStateMachine.mInterfaceName.equals(iface)) { if (DBG) { log("addressRemoved: " + address + " on " + iface + " flags " + flags + " scope " + scope); } - mWifiStateMachine.sendMessage(CMD_IP_ADDRESS_REMOVED, new LinkAddress(address)); + mWifiStateMachine.sendMessage(CMD_IP_ADDRESS_REMOVED, address); } } } |