summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorKyunglyul Hyun <klhyun@google.com>2020-08-13 23:42:51 +0900
committerKyunglyul Hyun <klhyun@google.com>2020-08-17 05:55:38 +0000
commit87c7f4116d35f94d62697cd6e16498d8baf60a06 (patch)
tree0557ebb36f33ba36e9d70b3ed28120055aeed200 /tools/aapt2/java/JavaClassGenerator.cpp
parentf237648d358a59848ce75db1838e46fbc7d19ff6 (diff)
MediaRouter: Create BluetoothRouteProvider for each user
The bluetooth service manages the active device for each user and sent broadcast for each user. BluetoothRouteProvider was singleton and listened broadcast from the owner (uid=0) only , which failed to catch correct events when the foreground user is not the owner. This CL fixes that by creating BluetoothRouteProvider per user and listening to the events of each user. Bug: 162541640 Test: manually open the output switcher and check bluetooth state with switching users and run cts Change-Id: Iabab6f7830ce0224b7f73a7c5cfb863aebf5562b (cherry picked from commit 715b6488aeaa99b9949532d8a4608c3576f853f4)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions