commit | b15ea8a9b506650b44c8ac21b640114e95ec2cef | [log] [tgz] |
---|---|---|
author | chaviw <chaviw@google.com> | Tue Sep 03 12:40:22 2019 -0700 |
committer | chaviw <chaviw@google.com> | Tue Sep 03 12:40:22 2019 -0700 |
tree | ef926fe40c06234bae5a3aa271d1095ec68bcfb2 | |
parent | 1a69fc00908a00bbcd182d362248c8ba71f8c620 [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