summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author François Gaffie <francois.gaffie@renault.com> 2022-03-25 16:19:25 +0100
committer Eric Laurent <elaurent@google.com> 2022-07-05 12:02:10 +0200
commit7a89e9fb3b9b1fb3ce42df00b87fb2650a75671a (patch)
tree6c0804499a1118abe1a830dc3218f91fdfe4cd10 /libs/androidfw/StringPool.cpp
parentadbe539f8a5165da3a4ec275d6db08410a0a39da (diff)
[BUG] audio: Misalignement of Native/Java AudioAttributes
Native audio attributes are initialized with a default source, whereas JAVA AudioAttributes are initialized with an INVALID source. It leads to equality failure, thus preventing to identify the right strategy / volume group. This CL fixes this misalignement by using the builder constructor from AudioAttributes, thus cleaning the input source. Test: AudioVolumeGroupTest Bug: 238058094 Signed-off-by: Francois Gaffie <francois.gaffie@renault.com> Change-Id: I1dca99cf60c8b3a6291743dc299324374e5752a6 Signed-off-by: François Gaffie <francois.gaffie@renault.com> Change-Id: I13d216814db66369ae72b496f4c9ae724cc40561
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions