diff options
author | Robert Carr <racarr@google.com> | 2017-11-28 08:49:59 -0800 |
---|---|---|
committer | Robert Carr <racarr@google.com> | 2017-11-28 08:49:59 -0800 |
commit | ebd62af1a1efcd200c7f7ecf5f165a31568907b0 (patch) | |
tree | 57d055050d9b20233cd8c49c51c7ee626f9beb3d /opengl/tests/gl_basic/gl_basic.cpp | |
parent | a7ffd7520d9e2fc1d91a7412d562cc87f90169f9 (diff) |
SurfaceFlinger: Fix removal check when adding child layers.
Traversing the current state has the same problem we had in other
CL's with relative Z. In this case if there was a parent that
was relative-Zed then it's Z relative is removed, we will be unable
to add children to it until we assign it a new layer. However there's
no reason to traverse, we can just use the new "isPendingRemoval"
flag to detect this state.
Bug: 69633137
Test: Existing tests pass.
Change-Id: I4584f051346fe77c3e6158a04dd1279a86164476
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions