OSDN Git Service

Remove window from mWaitingForDrawn when policy hidden
authorJorim Jaggi <jjaggi@google.com>
Sat, 22 Aug 2015 00:07:09 +0000 (17:07 -0700)
committerJorim Jaggi <jjaggi@google.com>
Mon, 24 Aug 2015 20:47:41 +0000 (20:47 +0000)
commit414985c422664c7f8d5dec5562b502907b965876
tree410f6c4fa9e83e77beb8647010f3e7cf35630e35
parent8c8a0c0034cd87ae80392164a67af13648b29b40
Remove window from mWaitingForDrawn when policy hidden

When doing a wake-and-unlock sequence and the app underneath hides
the status bar, we are dismissing Keyguard, the app gets focus, the
app hides the status bar BUT we haven't finished drawn yet, so we
are waiting until the timeout because w.hasDrawnLw() always returns
false. Remove window from pending list if it gets policy hidden.

Bug: 23431343
Change-Id: I27e8c6d4efb435a4d3b632a4a37c0de5b021c2e7
services/core/java/com/android/server/wm/WindowManagerService.java