summaryrefslogtreecommitdiff
path: root/libs/gui/LayerDebugInfo.cpp
diff options
context:
space:
mode:
author Melody Hsu <melodymhsu@google.com> 2024-03-25 22:09:10 +0000
committer Melody Hsu <melodymhsu@google.com> 2024-03-25 22:57:26 +0000
commit5aeb8160effdec9a6324a4152c34051cd929cc94 (patch)
treea850367bcf68758a9478d3a6b3b40a6fe4ed6d1b /libs/gui/LayerDebugInfo.cpp
parentae9b557b8580fa5a50bf0d66ac2a141b977edc40 (diff)
Fulfill hanging promises upon LayerFE destruction
Attempted screenshots can have broken promises when there is an invalid render area and no memory for the capture result. This case would return without a capture result, but should also clean up any promises associated with the LayerFEs in that screenshot. Fixes: b/330811287 Test: presubmit Change-Id: I777aaff0096347332eb6ba731a8a74b4e1860a57
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions