summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOscar Shu <xshu@google.com>2019-12-03 18:35:05 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-12-03 18:35:05 +0000
commit2674f15734493eebb98528982908e398255d9e4e (patch)
treeba4ffcee6416993f520789fac3b67561925ffba1
parent85cf0ca195b932e5f35b1938e7b711ab73b8e677 (diff)
parentf706a6eaf94dcdb80a3320d1a4bfcedc2f8f50ad (diff)
Merge "Reset num saved networks with mac randomization before counting" into qt-qpr1-dev
-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;