summaryrefslogtreecommitdiff
path: root/opengl/libagl/array.cpp
diff options
context:
space:
mode:
author chaviw <chaviw@google.com> 2019-05-13 11:15:19 -0700
committer chaviw <chaviw@google.com> 2019-05-13 17:02:13 -0700
commit3237758d5790d0f6ab8e8a2bffe4d9df869aae83 (patch)
treecbe36e8b2c98cd85294c64da2cff94274a638220 /opengl/libagl/array.cpp
parent6dec1db01247a00564e433ac2ff904e3d0ccac2c (diff)
Don't allow both setRelative and setLayer for the same surface.
Both setRelativeLayer and setLayer are used to set z order. The two will conflict if set on the same transaction for the same surface. SurfaceFlinger will just apply setRelativeLayer since it's second in the setClientState order. Instead, the code should only apply the transaction that was requested last. This change removes the setRelativeLayer flag if the setLayer flag is added and vice-versa. Fixes: 131834423 Test: Steps from bug Test: LayerTypeTransactionTest.SetLayerAndRelative Change-Id: Ib14aa5c666e74455e5ccb26a0fea94699bcc5771
Diffstat (limited to 'opengl/libagl/array.cpp')
0 files changed, 0 insertions, 0 deletions