commit | 3792c733f804ed4f1909fc1ca3dcc61b6ab1eef8 | [log] [tgz] |
---|---|---|
author | Kevin <kevhan@google.com> | Fri May 10 11:19:37 2019 -0700 |
committer | Kevin <kevhan@google.com> | Fri May 10 11:19:37 2019 -0700 |
tree | 644dde00617a32522cd8fd90deae636dc6c1ab38 | |
parent | 0f07b87420c37cc7c2b2d666a3d4e11f637aafc0 [diff] |
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
diff --git a/go/quickstep/src/com/android/quickstep/views/IconRecentsView.java b/go/quickstep/src/com/android/quickstep/views/IconRecentsView.java index 8276078..e71cda6 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 @@ // 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);