summaryrefslogtreecommitdiffstats
path: root/go
diff options
context:
space:
mode:
authorKevin <kevhan@google.com>2019-05-10 11:19:37 -0700
committerKevin <kevhan@google.com>2019-05-10 11:19:37 -0700
commit3792c733f804ed4f1909fc1ca3dcc61b6ab1eef8 (patch)
tree644dde00617a32522cd8fd90deae636dc6c1ab38 /go
parent0f07b87420c37cc7c2b2d666a3d4e11f637aafc0 (diff)
downloadandroid_packages_apps_Trebuchet-3792c733f804ed4f1909fc1ca3dcc61b6ab1eef8.tar.gz
android_packages_apps_Trebuchet-3792c733f804ed4f1909fc1ca3dcc61b6ab1eef8.tar.bz2
android_packages_apps_Trebuchet-3792c733f804ed4f1909fc1ca3dcc61b6ab1eef8.zip
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
Diffstat (limited to 'go')
-rw-r--r--go/quickstep/src/com/android/quickstep/views/IconRecentsView.java1
1 files changed, 1 insertions, 0 deletions
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);