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

Commit f3f146ec authored by Niklas Brunlid's avatar Niklas Brunlid Committed by Vlad Popa
Browse files

Keep AVRCP vol sync on hearing protection trigger

This fix ensures that the AVRCP index is always fetched from the
VolumeStreamState using getVssForStreamOrDefault(), regardless of the
SoundDoseHelper check. By doing so, we always use the correct internally
stored volume index for AVRCP updates instead of the transient UI slider
value.

This maintains proper synchronization between internal audio volume
state and what is communicated over AVRCP, ensuring both safety and
consistency for Bluetooth devices under hearing protection enforcement.

Bug: 433986502
Test: manual
Flag: EXEMPT bugfix
Change-Id: I3d537d0dc5108356f74e9a42185612d9ed91f082
parent 705beb0e
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