summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Nicolo' Mazzucato <nicomazz@google.com> 2023-09-04 13:19:44 +0000
committer Nicolo' Mazzucato <nicomazz@google.com> 2023-09-22 14:02:29 +0000
commit7c4753cad4d04276510b6a1724df1c75833fced4 (patch)
tree766e8be5c0ae0f43ad178c0d9ced72f123665492 /libs/androidfw/StringPool.cpp
parent72dbcc03a649c3b64ee42cc5a0422dc7e92e1332 (diff)
Reproduce camera sound only from default display screenshot controller
This avoids duplicated sounds and file loading for external displays. The sound will play only once after this cl. Note that even before, despite the sound was playing twice, it was not distinguishable. For now it's not possible to take the screenshot of a specified display only, so reproducing the sound only from the default display controller is enough. Some additional classes have been added to make this testable. + use only one bg thread in all ScreenshotController instances. Bug: 290910794 Bug: 296545112 Test: ScreenshotSoundControllerTest + Connected to an external display, took screenshot. Change-Id: I49fcd8a0dc7009c28557dc81deb91e79d5228074
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions