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 Chavi Weingarten <chaviw@google.com> 2018-06-01 23:14:49 +0000
commit738df02be90749afa30316ff70ef0ed425ceb6f0 (patch)
treec2238463886c672305a4ac330442fbbeba587b71 /libs/gui/DisplayEventReceiver.cpp
parentb82617e351b7d53fd10121d896ba0905dc80186b (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. Merged-In: I7afef556fa72f687bcfeb0a642465488cc72f40b
Diffstat (limited to 'libs/gui/DisplayEventReceiver.cpp')
0 files changed, 0 insertions, 0 deletions