Chromium Code Reviews
Descriptionbluetooth: Cache device name and uuids when iterating over filters
Changes MatchesFilters to take the device's name and its uuids directly
rather than taking a device and getting the name and uuids when iterating
over the filters. This avoid calling BluetoothDevice::GetName() for
every filter which caused lag on android when the request had too many filters.
BUG=629456
Committed: https://crrev.com/f6c78e7050d893ffb0ccb150efa8d21703593a95
Cr-Commit-Position: refs/heads/master@{#432026}
Patch Set 1 #
Messages
Total messages: 12 (7 generated)
|
|||||||||||||||||||