summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorChia-I Wu <olv@google.com>2017-05-30 14:54:08 -0700
committerChia-I Wu <olv@google.com>2017-06-05 17:09:27 +0000
commite6b63e1ae12692327f7e46d5f10d6ade5a7bf192 (patch)
tree9156c859372059940b2bece025f06871cbf37e8c /opengl/tests/gl_basic/gl_basic.cpp
parenteb30998a33355d4ab4570f0d6467a3ab4909a049 (diff)
surfaceflinger: fix layer count
When a layer is removed, mLayerCount is always decremented by 1 even though the layer has children. This commit fixes that by making sure mLayerCount is properly decremented, and makes sure that a parent layer must be a valid layer in mCurrentState. Bug: 37121786 Test: manually open and close Camera app Change-Id: I5a3e18be41646b167b4d361dfe08db4d06e1c2d0 (cherry picked from commit 98f1c108b016dda77c808f3d099e7a45bdd70768)
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions