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

Skip to content
Commit 9ffc20a7 authored by Francois Gaffie's avatar Francois Gaffie Committed by Eric Laurent
Browse files

[IMPR] AudioService: improve bijectivity between VSS / VGS



Bug: 260298113

This CL improves bijectivity between VolumeStreamStates
and VolumeGroupStates.
The cache of the stream/attributes volume must by synced on
not only the values but also the muted state.

To prevent race, VSS and VGS are synchronized on the same lock
as they need to sync each others.

Test: dumpsys audio & check index aligned between stream and
associated volume group
adb shell am instrument -w -e class com.android.audiopolicytest.* com.android.audiopolicytest

Signed-off-by: default avatarFrancois Gaffie <francois.gaffie@renault.com>
Change-Id: I78bfa0d1d87d90125f101bdb77e504181cc4c77e
parent 1a28bfc8
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