diff options
| author | 2019-01-23 17:52:04 -0800 | |
|---|---|---|
| committer | 2019-01-23 18:26:01 -0800 | |
| commit | ef36b00d128bcf5f5c64c5e44320b73e064d585e (patch) | |
| tree | a553985b6696f1c3b37de14f1baa402106f3f5bb /libs/gui/SurfaceControl.cpp | |
| parent | 0c326e33f642489e697ccc72e9e523e45d873bfb (diff) | |
SF: Fix a defect in the layer filtering logic
Change 32cbe2 broke the layer filtering logic when moving it over to
CompositionEngine. It would allow certain layers to appear on a virtual
display when they were supposed to be filtered out.
This corrects the logic to be what it was supposed to be, and adds a
unit test that verifies and documents the expected behavior.
Bug: 123248930
Test: atest libsurfaceflinger_unittest libcompositionengine_test
Test: atest android.media.cts.EncodeVirtualDisplayWithCompositionTest
Change-Id: Id2c4b4d32da405c64533924027795620f2d6ee61
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
0 files changed, 0 insertions, 0 deletions