summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorFrancois Gaffie <francois.gaffie@renault.com>2021-02-25 09:32:19 +0100
committerEric Laurent <elaurent@google.com>2021-05-17 17:13:24 +0200
commitdf1ea2236c8ca3c1a95a1c191cc1ccdcd482559b (patch)
treee7d59adb30fc92fb56e794d81074e0ce7d09f45f /tools/aapt2/java/JavaClassGenerator_test.cpp
parent9b60ca5d0231802c40cbdc7c3d2577e74320a1ea (diff)
Fix CTS AudioAttributesTest#testGetVolumeControlStreamVsLegacyStream
Volume group definition and stream control aliases definition may not match on a platform using volume groups to control volumes. This CL prevents from using hard coded alias table in order to rely only on volume groups definition. Also, UiSounds are used to allow volume change on stream previously affected by Dnd. Waiting for better configurability, this CL allows non aliased config to fallback on phone configuration to define stream (and so groups) allowed to be volume adjusted while Dnd. This CL provides a quick default index implementation based on properties for music, call, alarm and system. Other streams would use music default index (may be rescaled if out of range), as per volume group default implementation. BUG: 178032665 Test: cts/AudioManagerTest Signed-off-by: Francois Gaffie <francois.gaffie@renault.com> Change-Id: I4c3191e6189f206c482a3e35080383924cfa8f83
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions