summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorMingguang Xu <mingguangxu@google.com>2020-08-04 20:50:49 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-08-04 20:50:49 +0000
commitece9f2221fcb68c1f18ab78966e7eb8f5049dfdd (patch)
tree1280fb5b9d90b9e6dacee5e8f9cd63692be8d4a1 /service
parentbf837e17c1a831c5ad5dde452b5ab3f5d136b614 (diff)
parent3e0366caf14aa4754d756a03a6d4c6f4e8f7831d (diff)
Merge "Extension API: Set initial score value to the max when starting connected network scorer" into rvc-qpr-dev
Diffstat (limited to 'service')
-rw-r--r--service/java/com/android/server/wifi/WifiScoreReport.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/service/java/com/android/server/wifi/WifiScoreReport.java b/service/java/com/android/server/wifi/WifiScoreReport.java
index fa0ba6a3c..7819bba15 100644
--- a/service/java/com/android/server/wifi/WifiScoreReport.java
+++ b/service/java/com/android/server/wifi/WifiScoreReport.java
@@ -609,6 +609,7 @@ public class WifiScoreReport {
+ " sessionId=" + sessionId);
return;
}
+ mWifiInfo.setScore(ConnectedScore.WIFI_MAX_SCORE);
mWifiConnectedNetworkScorerHolder.startSession(sessionId);
mLastScoreBreachLowTimeMillis = INVALID_WALL_CLOCK_MILLIS;
}