diff options
author | Ningyuan Wang <nywang@google.com> | 2017-03-23 18:39:53 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-03-23 18:39:54 +0000 |
commit | 4990cf1ecd9df8da76ea60b56c414ff3271b30ce (patch) | |
tree | ec4c4ed7960b3f7a97d0c7c01b45b2d797a96738 /service | |
parent | fb30401ec20fa2f82c1ae9d37efc367630bb2995 (diff) | |
parent | 6781d02916ada0ee87df09b68e4082e44932b25d (diff) |
Merge "Do not return member array reference upon CMD_GET_SINGLE_SCAN_RESULTS"
Diffstat (limited to 'service')
-rw-r--r-- | service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java b/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java index a9f4b49ba..f22425dd7 100644 --- a/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java +++ b/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java @@ -548,7 +548,7 @@ public class WifiScanningServiceImpl extends IWifiScanner.Stub { if (DBG) localLog("ignored full scan result event"); return HANDLED; case WifiScanner.CMD_GET_SINGLE_SCAN_RESULTS: - msg.obj = new WifiScanner.ParcelableScanResults(mCachedScanResults); + msg.obj = new WifiScanner.ParcelableScanResults(mCachedScanResults.clone()); replySucceeded(msg); return HANDLED; default: |