summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Melody Hsu <melodymhsu@google.com> 2024-03-29 18:16:57 +0000
committer Melody Hsu <melodymhsu@google.com> 2024-03-29 18:24:08 +0000
commitd96534c47ef132f2da600cd565ed2e3cc12ff7ad (patch)
tree73c30e6a36e1c73b8072856810741c063c129704 /services/surfaceflinger/RegionSamplingThread.cpp
parent06bf5557c902dd6a1bb88acbd3b5fd8ec48e1278 (diff)
Add snapshot nullptr check in SF#renderScreenImpl
A layer that is not parented to the layer hierarchy could have a null snapshot, in which case we can ignore it when finding the display. Fixes: b/331874495, b/331923495 Test: presubmit Change-Id: I06ed68d2af4afd47fb83f8c38ba11b70fe6700f0
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions