OSDN Git Service

Refactor setAppOpVisibility implementation.
authorCraig Mautner <cmautner@google.com>
Tue, 12 Feb 2013 23:08:44 +0000 (15:08 -0800)
committerCraig Mautner <cmautner@google.com>
Tue, 12 Feb 2013 23:08:44 +0000 (15:08 -0800)
commitfb32c6e9e97e8c7541e85fcbd200ae86e721e7a4
treec11a8eac5828fab0ef4cc7cf8c011ba0d3835463
parentf9d2c2e63a3c8af5c230a24a3f243c94011bf2b7
Refactor setAppOpVisibility implementation.

- Convert double iteration over DisplayContents and WindowLists to
single iteration over AllWindowsIterator.

- Use existing change check in show() and hide() to trigger animation
scheduling rather than propagate change state up through calling tree.

Change-Id: Ic703a9fddebacbd0785bd5a186e95f9d0b128c42
services/java/com/android/server/wm/WindowManagerService.java
services/java/com/android/server/wm/WindowState.java