summaryrefslogtreecommitdiffstats
path: root/services/java/com/android/server/wm/AppWindowToken.java
diff options
context:
space:
mode:
Diffstat (limited to 'services/java/com/android/server/wm/AppWindowToken.java')
-rw-r--r--services/java/com/android/server/wm/AppWindowToken.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/services/java/com/android/server/wm/AppWindowToken.java b/services/java/com/android/server/wm/AppWindowToken.java
index 5ca09e7..67b667a 100644
--- a/services/java/com/android/server/wm/AppWindowToken.java
+++ b/services/java/com/android/server/wm/AppWindowToken.java
@@ -240,8 +240,10 @@ class AppWindowToken extends WindowToken {
animation.setStartTime(currentTime);
animating = true;
}
- // we're done!
- return stepAnimation(currentTime);
+ if (stepAnimation(currentTime)) {
+ // we're done!
+ return true;
+ }
}
} else if (animation != null) {
// If the display is frozen, and there is a pending animation,