Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 63c6d629 authored by Sungsoo Lim's avatar Sungsoo Lim
Browse files

Call setActiveDevice(null) when disconnected

When A2DP is disconnected in call mode, and when HFP is disconnected in
media mode, the disconnection of the audio device is not propagated to
the A2dpService or HeadsetService via setActiveDevice(null).
Thus, when the same audio device reconnected after, the audio is not came
from the audio device.

Bug: 261366232
Tag: #refactor
Test: atest BluetoothInstrumentationTests
Change-Id: Ic80b4ac436d61f0c8129e9bd61e086fe4c5d4644
Merged-In: Ic80b4ac436d61f0c8129e9bd61e086fe4c5d4644
(cherry picked from commit 5507bace)
parent 74f0c9e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment