OSDN Git Service

Fix support for negatively Z-ordered SubWindows.
authorRobert Carr <racarr@google.com>
Fri, 1 Dec 2017 22:27:04 +0000 (14:27 -0800)
committerRobert Carr <racarr@google.com>
Fri, 1 Dec 2017 23:19:21 +0000 (15:19 -0800)
commit0eff18732c7d3c3c7c998737f92da86d479486e9
treea30b703ed46c19c70d94396a414e22ec8f536f6c
parent266a9b594ec007255b2f7e98878116f2299a0e3c
Fix support for negatively Z-ordered SubWindows.

It turns out the live wallpaper picker is a copy-pasted
implementation of the old version of SurfaceView which relies
on TYPE_APPLICATION_MEDIA to be placed beneath the main window.
This is the last user and we should aim to eliminate it by replacing
the wallpaper picker with a SurfaceView or simply a Child Surface.

Bug: 69928336
Bug: 70040778
Test: Manual. ZOrderingTests.
Change-Id: I462b8f11954ad2e892d23164f41359a73078c21f
services/core/java/com/android/server/wm/WindowState.java
services/tests/servicestests/src/com/android/server/wm/ZOrderingTests.java