commit | 54e7645a8b6ea55c743f8cf6730bee9fc34fe8ed | [log] [tgz] |
---|---|---|
author | Hall Liu <hallliu@google.com> | Thu Mar 14 16:13:25 2019 -0700 |
committer | Hall Liu <hallliu@google.com> | Thu Mar 14 17:13:28 2019 -0700 |
tree | 8bf24e680ee6e003650b69c1fdd44c575f15b7b4 | |
parent | 07a279afa8ee14fe3a0a0329c44fe967156b0c8c [diff] |
Revise BT active device detection When figuring out which BT device is currently routing audio, use the getActiveDevice(s) APIs provided by BT and use the last-received ACTIVE_DEVICE_CHANGED broadcast as a fallback in case multiple active devices are detected across profiles Bug: 122359801 Test: unit, manual Change-Id: Id5ae17abcee023ddb9172968b9def7de38d23c63