summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
Diffstat (limited to 'service')
-rw-r--r--service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java2
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: