From 3792c733f804ed4f1909fc1ca3dcc61b6ab1eef8 Mon Sep 17 00:00:00 2001 From: Kevin Date: Fri, 10 May 2019 11:19:37 -0700 Subject: Fix missing early return. Fix a missing early return for when we don't have the bottom view laid out on remote animation start. Test: Builds Change-Id: Iba0d5097ce59d017dc43030552f2171c5e6e4fb1 --- go/quickstep/src/com/android/quickstep/views/IconRecentsView.java | 1 + 1 file changed, 1 insertion(+) (limited to 'go') diff --git a/go/quickstep/src/com/android/quickstep/views/IconRecentsView.java b/go/quickstep/src/com/android/quickstep/views/IconRecentsView.java index 82760785b..e71cda687 100644 --- a/go/quickstep/src/com/android/quickstep/views/IconRecentsView.java +++ b/go/quickstep/src/com/android/quickstep/views/IconRecentsView.java @@ -641,6 +641,7 @@ public final class IconRecentsView extends FrameLayout implements Insettable { // enough time to take in the data change, bind a new view, and lay out the new view. // TODO: Have a fallback to animate to anim.play(ValueAnimator.ofInt(0, 1).setDuration(REMOTE_APP_TO_OVERVIEW_DURATION)); + return; } final Matrix appMatrix = new Matrix(); playRemoteTransYAnim(anim, appMatrix); -- cgit v1.2.3