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

Skip to content
Commit 7d3abbee authored by Jakub Tyszkowski's avatar Jakub Tyszkowski
Browse files

LeAudio: Fix possible volume control delay

Currently some volume control operations are not confirmed due to missing notification from the remote device. One missing response can delay other operations by 3 seconds until the watchdog is triggered. This mostly happens because we either mute or unmute the already muted or unmuted device or set volume level to the device which already has it set properly. Since the GATT characteristic does not change, we do not get any notifications, however we expect them to arrive as an operation confirmation.

The simplest fix for that is not send requests to change volume or mute state if the volume or mute state is aready set as expected.

Bug: 273276001
Test: atest --host bluetooth_vc_test --no-bazel-mode
Change-Id: Ia60c72552911fdee5b06766fd37154d3ab689d38
parent 05250672
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