summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Matt Casey <mrcasey@google.com> 2024-05-08 15:59:29 +0000
committer Matt Casey <mrcasey@google.com> 2024-05-08 16:56:26 +0000
commitec86f4b99c73b224066022fa51268cb464c5b506 (patch)
tree2386bc3e41278dac77cdbf4ea3b4f8ba24009891 /libs/androidfw/StringPool.cpp
parentf57b481f40903b35763f3bd2cfa3e2cd97e12c2f (diff)
Fix Race in ScreenshotController
(Fixing merge for ag/26554944) TakeScreenshotExecutor was creating the ScreenshotController by passing the displayId. However, if the display was disconnected before ScreenshotController was fully initialized, it ended up crashing (exactly when creating the display context). Now, ScreenshotController is not created unless we have a not-null display in TakescreenshotExecutor. Test: atest TakeScreenshotExecutorTest Flag: None Fixes: 329147174 Change-Id: I0c7c9ec4e7d3dfc8896bd325bd250d372a6c0891
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions