OSDN Git Service

When restacking IM windows preserve relative order.
authorRobert Carr <racarr@google.com>
Wed, 20 Apr 2016 05:31:09 +0000 (22:31 -0700)
committerRobert Carr <racarr@google.com>
Wed, 20 Apr 2016 05:38:55 +0000 (22:38 -0700)
commitb976877a4b62a6030fe67796ab8a6a69b4cc041f
treedbebf385a8299f2452fbcec634b7ffaf579b7176
parent1ed0c12a657eb3f569cfcc5329ef4532e83d0f87
When restacking IM windows preserve relative order.

We were still having some troubles with attached windows which we
werent properly promoting here. Now we catch everything with
the mIsImWindow flag. Before it was safe to assume dialogs
were on top of the Input Method but with a whole range of child
windows we need to be more careful. WindowManagerService has
been very careful preparing the window list for us, so carry
out its wishes and preserve the original relative ordering of
input method windows when restacking.

Bug: 28235787
Change-Id: Ied96d83f77b82df81b3b0aa94cb61e9c22999d23
services/core/java/com/android/server/wm/WindowLayersController.java