From 11d81bbe760347042a6475d1a9ccb37e24003ca9 Mon Sep 17 00:00:00 2001 From: Evan Rosky Date: Mon, 13 Feb 2023 22:19:47 -0800 Subject: [PATCH] Update willFinishToHome during follow-up gestures AbsSwipeUpHandler updates RAC.setWillFinishToHome when the initial gesture crosses the resume/recents threshold. However, follow-up gestures don't use AbsSwipeUpHandler -- they go through RecentsView instead which wasn't updating willFinishToHome. This confuses RecentsAnimationController. Bug: 269212678 Test: open app, swipe to overview (let go), swipe down back to fullscreen. Change-Id: I6cff6856eadf1539ace8a03715491d31920d41e7 --- quickstep/src/com/android/quickstep/views/RecentsView.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java index 5b408493b3..46d7409512 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/src/com/android/quickstep/views/RecentsView.java @@ -4837,6 +4837,10 @@ public abstract class RecentsView