OSDN Git Service

Fixed some issues with layer adjustment for special windows.
authorWale Ogunwale <ogunwale@google.com>
Wed, 3 Feb 2016 22:12:08 +0000 (14:12 -0800)
committerWale Ogunwale <ogunwale@google.com>
Wed, 3 Feb 2016 22:55:20 +0000 (22:55 +0000)
commit26b7b43d172a7a2be39a109f1f6697162c4ee642
tree300647f3cb664aeea27f01a4460f42f5d0055013
parentd9eec15d84f4c58c4fd47b2c6b052d1e7b538779
Fixed some issues with layer adjustment for special windows.

- Adjust layers of all windows in pinned stack.
The surface view of a pinned activity will be hidden during transition
animations because we were only adjusting the layer of the main app
window when we adjust special windows in WindowLayersController.
We now adjust the layers of all windows in the pinned stack.
- Also adjust layers for all windows in the docked stack for the same
reasons
- Adjust layers for replacing windows that was lost when the code
was moved to the separate class.

Bug: 26697719
Change-Id: I42fc3f9a51de9999157bcc7fee25a334b3e93ea1
services/core/java/com/android/server/wm/WindowLayersController.java