summaryrefslogtreecommitdiff
path: root/libs/gui/DisplayEventReceiver.cpp
diff options
context:
space:
mode:
author chaviw <chaviw@google.com> 2018-05-31 16:11:27 -0700
committer chaviw <chaviw@google.com> 2018-06-01 11:52:19 -0700
commitfd46261518bac66441a57c3732811f5340b69978 (patch)
tree35f00a30678edd12ee4c08385b7f9ca8eeb3c28f /libs/gui/DisplayEventReceiver.cpp
parent1d3c7f7db6a8eceba3f0c5e5e42973e40c7dac2f (diff)
Use correct StateSet for LayerVector compare.
Currently LayerVector compare function was using the current StateSet. This is incorect since the LayerVector may be created with the intention of sorting the layers by drawing state. Instead, create the LayerVector with a specified StateSet so the compare function always uses the correct state. This fixes an issue where the layers were getting added and sorted by current state z order but the caller expected the order to be by drawing state z order. Change-Id: I7afef556fa72f687bcfeb0a642465488cc72f40b Fixes: 80516823 Test: No longer flicker when IME closes. Logs show correct z order.
Diffstat (limited to 'libs/gui/DisplayEventReceiver.cpp')
0 files changed, 0 insertions, 0 deletions