commit | 05cb38257f509998b8945828c05671a7dc07622a | [log] [tgz] |
---|---|---|
author | Michael Plass <mplass@google.com> | Tue Mar 26 10:12:35 2019 -0700 |
committer | Michael Plass <mplass@google.com> | Wed Mar 27 12:06:58 2019 -0700 |
tree | b1facd71668017242a365f1660b87762d075a761 | |
parent | 972c386c583529ac2ccb86352ca3f4076d4939fb [diff] |
wifi/CompatibilityScorer: Break ties using rssi Since this score calculation treats all sufficiently strong signals as equivalent, it is easy to get ties. SavedNetworkEvaluator breaks these ties using RSSI, when it calls setNetworkCandidateScanResult. Add a tie-breaking tiny multiple of RSSI to accomplish the same thing. Bug: 128937950 Test: atest FrameworksWifiTests Change-Id: Ife49e318a1a42cf5913870ffc050358acd106d08