OSDN Git Service

Delay setting hidden until after isVisibleNow test.
authorCraig Mautner <cmautner@google.com>
Wed, 3 Oct 2012 01:11:25 +0000 (18:11 -0700)
committerCraig Mautner <cmautner@google.com>
Wed, 3 Oct 2012 01:11:25 +0000 (18:11 -0700)
commit4b5aa78c898a827c3cd65f578d31d3809b61aad6
tree6413bde88a65731ff92d1bd2edc5d46d03531678
parent09f090b377cbe2332340580daf4adf4d2502d004
Delay setting hidden until after isVisibleNow test.

Setting hidden prior to test guarantees the test will fail. This
then causes the exit animation to not be loaded and consequently
the window is immediately hidden. Then, when the window is removed
later it reappears in order to animate away. The consequent flash
is undesirable.

Bug: 7242373 fixed.
Change-Id: I56966bd9060124be372702090f86b29b4deea8c0
services/java/com/android/server/wm/WindowManagerService.java