Skip to content
Commit 2ace6929 authored by Kyunglyul Hyun's avatar Kyunglyul Hyun
Browse files

Handle Active device changed A2DP <-> Hearing Aid

When the active device is changed from A2DP to Hearing aid,
Both BluetoothA2dp.ACTION_ACTIVE_DEVICE_CHANGED and
BluetoothHearingAid.ACTION_ACTIVE_DEVICE_CHANGED are broadcasted.
One of them may nullify the other, which resulted in null active routes.

By handling devices of each type separately, we can resolve the issue.

Bug: 159757784
Test: Manaully tested with A2DP devices only
Change-Id: I6d5b61ec9b8ddf447b3d36b14c0325953193ab3b
parent f629b618
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment