OSDN Git Service

Do not load exit animation again if window is already animating
authorChong Zhang <chz@google.com>
Fri, 24 Jun 2016 18:23:06 +0000 (11:23 -0700)
committerChong Zhang <chz@google.com>
Fri, 24 Jun 2016 18:30:58 +0000 (11:30 -0700)
commit8c5d422e0265887d182434d3ac467231fee4588c
tree965b1fce537d98b1d786c349be4a2125a868b253
parent4b6614e5762852e4495a991b5fc833a342f2cb36
Do not load exit animation again if window is already animating

Transition can be started as soon as the entering app is drawn.
If the exiting app relayouts to invisible after transition started,
don't load the exit animation again.

bug: 29405575
Change-Id: I05ba4f733afb9426626db113be721a6bf888f093
services/core/java/com/android/server/wm/WindowManagerService.java