commit | 15eb7da79478adf428db2e39d9c0741763d09fbc | [log] [tgz] |
---|---|---|
author | Sungsoo Lim <sungsoo@google.com> | Wed Dec 16 19:04:41 2020 +0900 |
committer | Sungsoo Lim <sungsoo@google.com> | Wed Dec 23 18:19:30 2020 +0900 |
tree | 8b804f2df64ecbe3bcf45f8ab552e8c0ca3fe1dc | |
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