summaryrefslogtreecommitdiffstats
path: root/wifi/java
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2014-07-17 16:38:59 +0200
committerPaul Kocialkowski <contact@paulk.fr>2014-07-17 16:38:59 +0200
commitbe640cae67b534624d6b45b71bb43f25f8f84226 (patch)
tree6e0c51b668ce065f4b12d9545817d29b905cbf23 /wifi/java
parent9c4f4e1d06ff77539990c70dd65fb3dcf167f583 (diff)
downloadframeworks_base-be640cae67b534624d6b45b71bb43f25f8f84226.zip
frameworks_base-be640cae67b534624d6b45b71bb43f25f8f84226.tar.gz
frameworks_base-be640cae67b534624d6b45b71bb43f25f8f84226.tar.bz2
WiFiStateMachine: Preferred Network Offload leaks known SSIDs
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'wifi/java')
-rw-r--r--wifi/java/android/net/wifi/WifiStateMachine.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/wifi/java/android/net/wifi/WifiStateMachine.java b/wifi/java/android/net/wifi/WifiStateMachine.java
index dc4d757..6fa32de 100644
--- a/wifi/java/android/net/wifi/WifiStateMachine.java
+++ b/wifi/java/android/net/wifi/WifiStateMachine.java
@@ -1257,9 +1257,6 @@ public class WifiStateMachine extends StateMachine {
private void handleScreenStateChanged(boolean screenOn) {
if (DBG) log("handleScreenStateChanged: " + screenOn);
enableRssiPolling(screenOn);
- if (mBackgroundScanSupported) {
- enableBackgroundScanCommand(screenOn == false);
- }
if (screenOn) enableAllNetworks();
if (mUserWantsSuspendOpt.get()) {