commit | 5365eaa6db467b36cb36c2cfc8f3616fd8b22e69 | [log] [tgz] |
---|---|---|
author | ryanywlin <ryanywlin@google.com> | Thu May 03 13:40:52 2018 +0800 |
committer | Ryan Lin <ryanywlin@google.com> | Fri May 11 05:44:43 2018 +0000 |
tree | aa6cccfd683af4a49ecfb19329f0eafc66adbeb8 | |
parent | b87eb6aa062ab1b282ac2cd3289d83ffb7eefa8d [diff] |
Use another callback to notify the updater that UI should be updated Replace onConnectionStateChanged callback with onProfileConnectionStateChanged. While updater is notified, isFilterMatched(cachedDevice) will decide whether to add/remove from UI based on audio profiles and audio mode. Bug: 76447449 Test: make RunSettingsRoboTests -j28 Change-Id: Icfba1ce2297e4638679158f9f99bae276940d885