summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOscar Shu <xshu@google.com>2019-12-03 10:50:21 -0800
committerandroid-build-merger <android-build-merger@google.com>2019-12-03 10:50:21 -0800
commit0cf5ff5e4bb35ecbbb6d6e79392a88f5ff2c342c (patch)
treee74d347e47bffc9ee5cd5f937e710edc955c8198
parent9f8882dfcafa0f6843f5ad6502dce1b85526379a (diff)
parent2674f15734493eebb98528982908e398255d9e4e (diff)
Merge "Reset num saved networks with mac randomization before counting" into qt-qpr1-dev
am: 2674f15734 Change-Id: I25d233001d5db2649f9bc592ae9df215f21a2618
-rw-r--r--service/java/com/android/server/wifi/WifiMetrics.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/service/java/com/android/server/wifi/WifiMetrics.java b/service/java/com/android/server/wifi/WifiMetrics.java
index 27fe140a7..2e9e34c07 100644
--- a/service/java/com/android/server/wifi/WifiMetrics.java
+++ b/service/java/com/android/server/wifi/WifiMetrics.java
@@ -2942,6 +2942,7 @@ public class WifiMetrics {
public void updateSavedNetworks(List<WifiConfiguration> networks) {
synchronized (mLock) {
mWifiLogProto.numSavedNetworks = networks.size();
+ mWifiLogProto.numSavedNetworksWithMacRandomization = 0;
mWifiLogProto.numOpenNetworks = 0;
mWifiLogProto.numLegacyPersonalNetworks = 0;
mWifiLogProto.numLegacyEnterpriseNetworks = 0;