diff options
| author | 2022-03-25 16:19:25 +0100 | |
|---|---|---|
| committer | 2023-05-22 10:27:13 -0700 | |
| commit | dab2157081beedd8b545040080f181d48f556130 (patch) | |
| tree | 4445ef23f0f4be0cfc8507d7bd1b7ebdf39ce8a8 /libs/androidfw/ObbFile.cpp | |
| parent | 7591dd408db2d2ecef3ef8159d436f5409220b64 (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: 248287204
Merged-In: I0aa6f19bb0f448e853adcc0dacece4d69c665602
Change-Id: I0aa6f19bb0f448e853adcc0dacece4d69c665602
(cherry picked from commit 47e3b6bf552e7d82c58999ad0a68f2d82219646e)
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions