[IMPR] AudioProductStrategy: get volume group from AudioAttributes
This CL adds an API to find a volume group from a given audio attributes.
It allows to fallback or not on default volume group.
Bug: 260298113
Test: adb shell am instrument -w -e class com.android.audiopolicytest.AudioManagerTest com.android.audiopolicytest
adb shell am instrument -w -e class com.android.audiopolicytest.AudioProductStrategyTest com.android.audiopolicytest
adb shell am instrument -w -e class com.android.audiopolicytest.AudioVolumeGroupTest com.android.audiopolicytest
adb shell am instrument -w -e class com.android.audiopolicytest.AudioVolumeGroupChangeHandlerTest com.android.audiopolicytest
Signed-off-by: Francois Gaffie <francois.gaffie@renault.com>
Change-Id: I2aaf64fbe0c0fac3bb0110d847453eaf34f80792
Merged-In: I2aaf64fbe0c0fac3bb0110d847453eaf34f80792
Loading
Please register or sign in to comment