diff options
author | Sungsoo Lim <sungsoo@google.com> | 2020-12-16 19:04:41 +0900 |
---|---|---|
committer | Sungsoo Lim <sungsoo@google.com> | 2020-12-23 18:19:30 +0900 |
commit | 15eb7da79478adf428db2e39d9c0741763d09fbc (patch) | |
tree | 8b804f2df64ecbe3bcf45f8ab552e8c0ca3fe1dc /wifi/java/android/net/wifi/WifiFrameworkInitializer.java | |
parent | 69f35b55c21d98ff36501b1569ad6ec548cd7fbb (diff) |
Get bluetooth A2DP status directly from BT
MediaRourter uses main thread for internal operations, and ANR could
happens if AudioService is not running when MediaRouter tried to get
BT A2DP status. This CL avoids such ANR by getting the info using
BroadcastReceiver insteead of AudioService.
Bug: 170327593
Test: manually
Change-Id: If9eba19481fceb0c86ff0117e8a604b64d7ebc49
Diffstat (limited to 'wifi/java/android/net/wifi/WifiFrameworkInitializer.java')
0 files changed, 0 insertions, 0 deletions