summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Robert Carr <racarr@google.com> 2019-07-01 14:42:27 -0700
committer Robert Carr <racarr@google.com> 2019-07-01 15:04:38 -0700
commit1c5481ea27625ae9ecb2f386bc115d479fdf50c4 (patch)
tree233efcedeb306471eaa8425cbeb19d597f3c2af7 /libs/gui/BufferQueueThreadState.cpp
parent37131865d03edbbeb7e5a59dbbf3f75b19b7641a (diff)
SurfaceFlinger: Hide Z order relatives when relativeOf is hiddenByPolicy.
Now that we are using relative Z for the SurfaceView background we encounter yet another edge case. During Surface preservation we reparent the SurfaceView from one WindowStateAnimator to a second. When we reparent it we hide the old surface and show the new one. However at this time the background is still relative to the OLD surface, which is Z ordered on top of the new Surface. To fix this we ensure that if a layers relative Z parent is hidden by policy the layer is also invisible. Bug: 136061599 Test: TransactionTest#HideRelativeParentHidesLayer Change-Id: I941fb9060dab79dba89300a5c86d6ea1a69f577d
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions