commit | 06bfe28de4cc61ba2e616cc0bf8f561ec082041f | [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 | 2d491ecd4a1dc75be1990a9f9aa54c32d0e2f2f5 | |
parent | 993d70141bb89ebb8a67c0006739fef1053294f7 [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