summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author chaviw <chaviw@google.com> 2019-09-03 12:40:22 -0700
committer chaviw <chaviw@google.com> 2019-09-03 12:40:22 -0700
commitb15ea8a9b506650b44c8ac21b640114e95ec2cef (patch)
treeef926fe40c06234bae5a3aa271d1095ec68bcfb2 /libs/gui/BufferQueueThreadState.cpp
parent1a69fc00908a00bbcd182d362248c8ba71f8c620 (diff)
Use getLayerStack() instead of layerStack for input info
When there's no displayId, the layerStack should be used. The current code was using mDrawingState.layerStack which is incorrect because only the layerStack for the root of the tree is correct. Instead, use getLayerStack() which traverses the hierarchy to find the root's layerStack. Test: Uses correct layerStack instead of 0 for input with unset displayIds Change-Id: Ic8a06c562e970b0f328c539edfa51e206734934f
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions