diff options
| author | 2022-03-25 16:19:25 +0100 | |
|---|---|---|
| committer | 2023-05-24 11:50:47 -0700 | |
| commit | a4fa0a911469998e028f30b49bf5311b44cb1e33 (patch) | |
| tree | a3e9c0042e7aeaafa41d9eb914c87d15e9f69ab5 /libs/androidfw/StringPool.cpp | |
| parent | 0e2e9bb93c9af9661fe6671dd3dc18d8a50a07c7 (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
Bug: 284010885
Bug: 284020937
Signed-off-by: Francois Gaffie <francois.gaffie@renault.com>
Change-Id: I1dca99cf60c8b3a6291743dc299324374e5752a6
Merged-In: I13d216814db66369ae72b496f4c9ae724cc40561
Change-Id: I13d216814db66369ae72b496f4c9ae724cc40561
Signed-off-by: François Gaffie <francois.gaffie@renault.com>
(cherry picked from commit 7a89e9fb3b9b1fb3ce42df00b87fb2650a75671a)
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions