OSDN Git Service

Improve visibility and layering of dock divider.
authorFilip Gruszczynski <gruszczy@google.com>
Wed, 30 Sep 2015 17:55:33 +0000 (10:55 -0700)
committerFilip Gruszczynski <gruszczy@google.com>
Wed, 30 Sep 2015 21:44:01 +0000 (14:44 -0700)
commite95b0aef6d259ff9322bd9a34e36e61737844eee
treef20e871e5f15866c0432631ff22648b89f472ef2
parentf4eb180e73165d16094c315cd38f8bb0d776b585
Improve visibility and layering of dock divider.

We adjust the visiblity of the divider now after every layout.

The divider was far too high in the priority list, based on the wrong
assumption that as a part of the system UI it needs to be constantly
visible. It should stay at the same level as applications, because it's
almost as a part of application.

Layering gets improved by having the relaunch animation receive zorder
top, just as if it was entering. The window that is being replaced fakes
this too, since it's not being animated, but should share the behavior.

Bug: 24500829

Change-Id: Iad3369a5ab6721b1bf7a94e8979dcf33e0805c7f
services/core/java/com/android/server/policy/PhoneWindowManager.java
services/core/java/com/android/server/wm/AppTransition.java
services/core/java/com/android/server/wm/WindowManagerService.java
services/core/java/com/android/server/wm/WindowStateAnimator.java
services/core/java/com/android/server/wm/WindowSurfacePlacer.java