diff options
author | hughchen <hughchen@google.com> | 2019-03-20 14:46:12 +0800 |
---|---|---|
committer | hughchen <hughchen@google.com> | 2019-03-21 12:04:31 +0800 |
commit | 2a3151d26804f26c0459b377785679d3748dd628 (patch) | |
tree | c791caf227318bffd2dd629efad6e0b63629ef55 /rs/java/android/renderscript/RenderScript.java | |
parent | 11ba311912adf99b48b127e097bf6d37c5aebb66 (diff) |
Fix UI incorrect when switch active device to hearing aid
When active device change to Hearing Aid,
BluetoothEventManager also send onActiveDeviceChanged() to notify
that active device of A2DP profile is null. To handle this case,
check hearing aid device is active device or not. If Hearing aid
device is active device then return Hearing aid device id,
otherwise return phone device id.
Bug: 128956186
Test: RunSettingsLibRoboTests
Change-Id: I1ba9249d7a7f634b56df019450643cfe147a5fb8
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions