commit | 0588d9655753cbc043ecea3f24233be100efecde | [log] [tgz] |
---|---|---|
author | Michael Plass <mplass@google.com> | Mon Mar 16 13:36:23 2020 -0700 |
committer | Michael Plass <mplass@google.com> | Fri Mar 20 11:43:37 2020 -0700 |
tree | 59710c63b29070384cde758ef93c65ad338810f2 | |
parent | fcb793e158c1d1b9223e2e743528f3a4782a60e1 [diff] |
[ThroughputScorer] Simplify last-selected bonus Change the way that a last-selected network bonus is applied. Instead of adding a very large value that fades to zero over time, just set the score to a value large enough to guarantee that this network will get selected during a configurable time interval. The default interval is 480 minutes (8 hours). Bug: 151564543 Test: atest com.android.server.wifi Change-Id: I2431415138adba1f16f86982f56275c4240ad81d