summaryrefslogtreecommitdiffstats
path: root/service/java/com/android/server/wifi/WifiConfigManager.java
diff options
context:
space:
mode:
authorxshu <xshu@google.com>2018-01-16 18:35:13 -0800
committerOscar Shu <xshu@google.com>2018-01-19 00:15:45 +0000
commitdc4167ed8646eb325758cab9d5e1e8c2076b532a (patch)
tree6cc19264fb9c7166259d8a0e4ac10bb94201213d /service/java/com/android/server/wifi/WifiConfigManager.java
parentecff250f4fef63dcefb45d1273b4bf23526ddc8b (diff)
downloadandroid_frameworks_opt_net_wifi-dc4167ed8646eb325758cab9d5e1e8c2076b532a.tar.gz
android_frameworks_opt_net_wifi-dc4167ed8646eb325758cab9d5e1e8c2076b532a.tar.bz2
android_frameworks_opt_net_wifi-dc4167ed8646eb325758cab9d5e1e8c2076b532a.zip
Remove reference to ScanResult.java removed fields
These fields are only copied around but not updated, therefore it should be safe to delete them. Bug: 67419731 Test: compile, run frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I776347741f858aa8d82316718c386978ecbf5158
Diffstat (limited to 'service/java/com/android/server/wifi/WifiConfigManager.java')
-rw-r--r--service/java/com/android/server/wifi/WifiConfigManager.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/service/java/com/android/server/wifi/WifiConfigManager.java b/service/java/com/android/server/wifi/WifiConfigManager.java
index 42062c4ab..e443cd425 100644
--- a/service/java/com/android/server/wifi/WifiConfigManager.java
+++ b/service/java/com/android/server/wifi/WifiConfigManager.java
@@ -1907,13 +1907,6 @@ public class WifiConfigManager {
}
// Adding a new BSSID
- ScanResult result = scanDetailCache.getScanResult(scanResult.BSSID);
- if (result != null) {
- // transfer the black list status
- scanResult.blackListTimestamp = result.blackListTimestamp;
- scanResult.numIpConfigFailures = result.numIpConfigFailures;
- scanResult.numConnection = result.numConnection;
- }
if (config.ephemeral) {
// For an ephemeral Wi-Fi config, the ScanResult should be considered
// untrusted.