summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Nicolo' Mazzucato <nicomazz@google.com> 2023-08-08 16:20:11 +0000
committer Nicolo' Mazzucato <nicomazz@google.com> 2023-08-25 19:37:41 +0000
commit33115b5f97918e29383c76b1f892be3ae8f1c78d (patch)
treed0335c9a6923c9666997ba2093a87c0cd723703d /libs/androidfw/StringPool.cpp
parentfa5fc1e30a0cf86f0c4604c2691d5e54b149ca3b (diff)
Capture screenshots from all displays (flag-guarded)
This changes TakeScreenshotService to gather screenshots from all (not-virtual) connected displays when a SystemUI flag is enabled. System server part of the screenshot flow is unchanged. When the `multi_display_screenshot` sysui flag is enabled, one screenshot is captured for each display, and the UI is shown accordingly in every display. This results in different files being saved. When the flag is disabled, the previous behaviour is left unchanged. ScreenshotController has been been slighly refactored to be per-display. When the flag is disabled, only the controller for the default display is created. There is some minimal duplication of code related to UiEventLogger that can be removed when the flag is enabled. Test: TakeScreenshotServiceTest, TakeScreenshotExecutorTest, ConnectedDisplayInteractorTest, ScreenshotDataTest Bug: 290910794 Bug: 295143676 Change-Id: I24bd6436d346c2cbd5dcdc201d01c8aabb09bc17
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions