Don't finish to home when launching a task from recents
- When launching without a task view, we should also not be finishing
to home (similar to composeRecentsLaunchAnimator) since it will
clobber the newly launched task
Fixes: 191182965
Test: Open overview with live tile, try to open usb debugging settings
page
Change-Id: If7464ebf155cee33e81205fbf4899e9ab49a52d0
diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java
index 8c3e5b5..2b256a4 100644
--- a/quickstep/src/com/android/quickstep/views/RecentsView.java
+++ b/quickstep/src/com/android/quickstep/views/RecentsView.java
@@ -874,7 +874,7 @@
anim.addListener(new AnimatorListenerAdapter() {
@Override
public void onAnimationEnd(Animator animation) {
- finishRecentsAnimation(true /* toRecents */, null);
+ finishRecentsAnimation(false /* toRecents */, null);
}
});
} else {