summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorWale Ogunwale <ogunwale@google.com>2016-12-12 14:47:05 -0800
committerWale Ogunwale <ogunwale@google.com>2016-12-12 15:58:38 -0800
commit5d7e7f136e349e6cde86943dd03e7edd9ec92e6e (patch)
tree0b1ff359072b6c4c3bab5747ca531e389d93bb28 /opengl/tests/gl_basic/gl_basic.cpp
parent3966e89c7afe279c256e94d431b99ba8e93db847 (diff)
Fixed window ordering issue with TYPE_VOICE_INTERACTION.
WC.forAllWindows returns windows based on their token order in the hierarchy and the non-app windows are ordered in the hierarchy based on their types. For most window tokens their types is specified when the token is added, but for some others we use the type of the first window added to the token. This becomes a problem if various window types are added to the same token (sys-ui I am looking at you...) and someone adds another token with a window type that should be z-ordered in-between the windows of the first token. For now we work around the problem by collecting all the non-app windows and making sure they are in order before return any window to the caller. Long term we want to change sys-ui and other callers to use different window tokens based on the window types they are adding. Fixes: 33538278 Test: bit FrameworksServicesTests:com.android.server.wm.DisplayContentTests Change-Id: I83357975c87c704af9d0702c939ca99984462365
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions