diff options
author | Vinit Deshpande <vinitd@google.com> | 2014-05-19 15:24:18 -0700 |
---|---|---|
committer | Vinit Deshpande <vinitd@google.com> | 2014-05-19 15:29:43 -0700 |
commit | c101b1c90b5c2e649c7f4b14c9c40c570a3ece05 (patch) | |
tree | d43bfc380646ec69a15d923142b5364e03dde0d5 /wifi/java/android | |
parent | 77bc0a17e8668945548f3b4936e4888ec3eb189e (diff) | |
download | frameworks_base-c101b1c90b5c2e649c7f4b14c9c40c570a3ece05.zip frameworks_base-c101b1c90b5c2e649c7f4b14c9c40c570a3ece05.tar.gz frameworks_base-c101b1c90b5c2e649c7f4b14c9c40c570a3ece05.tar.bz2 |
Implement onPeriodChanged and multiple scans of same channels
This change fixes multiple scans of same channels; and it generates
onPeriodChanged event.
cherry-picked from partner:klp-wireless-dev
SHA1 950564a305865cc0ae2bc528479ea6922efbb898
Bug: 15000051
Change-Id: I06a4ecc9d45eda4984de50b97b39f623dd0b26d1
Diffstat (limited to 'wifi/java/android')
-rw-r--r-- | wifi/java/android/net/wifi/WifiScanner.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/wifi/java/android/net/wifi/WifiScanner.java b/wifi/java/android/net/wifi/WifiScanner.java index b766268..9ea7027 100644 --- a/wifi/java/android/net/wifi/WifiScanner.java +++ b/wifi/java/android/net/wifi/WifiScanner.java @@ -783,6 +783,9 @@ public class WifiScanner { FullScanResult result = (FullScanResult) msg.obj; ((ScanListener) listener).onFullResult(result); return; + case CMD_PERIOD_CHANGED: + ((ScanListener) listener).onPeriodChanged(msg.arg1); + return; case CMD_AP_FOUND: ((HotlistListener) listener).onFound( ((ParcelableScanResults) msg.obj).getResults()); |