summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Jean-Michel Trivi <jmtrivi@google.com> 2023-01-31 05:30:36 +0000
committer Jean-Michel Trivi <jmtrivi@google.com> 2023-01-31 15:18:10 +0000
commitd8817a74deb9b8f8377129dc39bf01600ded09f2 (patch)
tree79f6931d98c2cce7acb39a60f76d808b2f4f6202 /libs/androidfw/StringPool.cpp
parent5f3bb108772a76777c97ecac22e8888f8dfaff36 (diff)
AudioService: fix stream aliasing update
When updating the stream aliases table, mStreamVolumeAlias should point to a copy of the default alias table it's starting from, not its reference. This fixes an issue where changing the aliasing between ring and notification would work when unaliasing, but not when aliasing, as the contents of the alias table had been overwritten already. Bug: 265076070 Test: atest android.media.audio.cts.AudioManagerTest#testStreamTypeAliasChange Change-Id: I74bc7fdf054ef295876c8a5503111c14d084e8d2 Merged-In: I74bc7fdf054ef295876c8a5503111c14d084e8d2 (cherry picked from commit e620bc2a8e5f236b4d57a0a525a81eda2578425b)
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions