OSDN Git Service

Defer removal of activity until animation complete.
authorCraig Mautner <cmautner@google.com>
Tue, 18 Mar 2014 21:26:36 +0000 (14:26 -0700)
committerCraig Mautner <cmautner@google.com>
Tue, 25 Mar 2014 23:48:47 +0000 (16:48 -0700)
commit79e6578b6c7e8352f86942b99de4513133a1acdb
tree264da9c0b3dde128ebdc33c79d8aabf1ecd9a8e2
parent64906b52423a9829e7af9ff512fb18b0947f9920
Defer removal of activity until animation complete.

Do not remove an AppWindowToken or its Task if it is running an
animation. Doing so leaves windows orphaned and bad things happen
when the system tries to retrieve the task assoicated with the
windows during layout.

Fixes the ugly output associated with bug 13440426.

Change-Id: I9d5fc50a7cb6189160d51cee3c82f7813baee715
services/core/java/com/android/server/wm/WindowManagerService.java