Trigger the network score update after setting test allow bad wifi am: 6339ec22ad

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/15164990

Change-Id: I6f47ea4d87d1a065599deb1b4775ba817267ccf4
This commit is contained in:
Chiachang Wang
2021-07-01 03:27:26 +00:00
committed by Automerger Merge Worker

View File

@@ -182,7 +182,7 @@ public class MultinetworkPolicyTracker {
public void setTestAllowBadWifiUntil(long timeMs) {
Log.d(TAG, "setTestAllowBadWifiUntil: " + mTestAllowBadWifiUntilMs);
mTestAllowBadWifiUntilMs = timeMs;
updateAvoidBadWifi();
reevaluateInternal();
}
@VisibleForTesting