Corrected visibility reporting error in WindowManager
authorUlf Rosdahl <ulf.rosdahl@sonyericsson.com>
Wed, 29 Sep 2010 10:34:38 +0000 (12:34 +0200)
committerJohan Redestig <johan.redestig@sonyericsson.com>
Wed, 29 Sep 2010 10:34:38 +0000 (12:34 +0200)
commit39357708b7b1017210985c9814d5a9328655aba9
tree8ca7692383fb5ccbbadeeddd37ccc772712a4f0d
parent7d9c73fb6f6f79f7f92b77482a0edbd7b89f2564
Corrected visibility reporting error in WindowManager

Correction for the error:
When a window is done animating and about to be destroyed,
it is still checked for visibility in the method
updateReportedVisibilityLocked in the WindowManager.
In the case where other windows are ready to be reported as
visible, this, not yet destroyed window which has the state
not visible, will prevent the visibility report message from
being sent.

Change-Id: I9e307a678a204f0883ccd78c2645c373d3f81066
services/java/com/android/server/WindowManagerService.java