commit | 22f416bff939c8e07954dc82a845f46b14f89e97 | [log] [tgz] |
---|---|---|
author | William Xiao <wxyz@google.com> | Thu Nov 15 15:39:00 2018 -0800 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Fri Nov 16 00:45:09 2018 +0000 |
tree | 850b053d19d188deb2a96c51c5afad89fbf4e4bf | |
parent | aa56d76ff169ed3a557477e23c4d21bb0a34fccb [diff] |
[settings][bt]Fix sorting in bluetooth settings Sort is supposed to return a positive number if a is greater, zero if equal, or a negative number if smaller. However, a missing set of parens caused the lambda to always return a negative number (since the rssi is always a negative number), meaning no actual sorting was done. SY-879 Test: ran it and verified sort was correct Change-Id: I196e90b1a94cb88605db3f41d87e24322ec63028
This is the layer where first-party mods (modules) live. See Flutter Module Development .