summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Melody Hsu <melodymhsu@google.com> 2024-03-29 21:58:45 +0000
committer Melody Hsu <melodymhsu@google.com> 2024-04-01 21:21:26 +0000
commit70c2ee640a6bdcfd4bc2d0fecd20f9ff4a662896 (patch)
tree860ca4fe822d6ab3102fdc216fe7036ccf9d608b /services/surfaceflinger/RegionSamplingThread.cpp
parentd96534c47ef132f2da600cd565ed2e3cc12ff7ad (diff)
Create test for screenshots with null snapshots
Snapshots can be null when a layer is offscreen and unparented. The best way to simulate this in a test is to mirror an offscreen layer and check if the screenshot path works. Also adds more informative screenshot deubg logs. Bug: b/331874495, b/331923495 Test: atest ScreenCapturetest Change-Id: I4fcd822f00e6427ebaf899756f95e6790b035544
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions