From 930487938767771bd9bfb4047c715bec66d34239 Mon Sep 17 00:00:00 2001 From: Winson Chung Date: Wed, 17 Nov 2021 08:09:49 +0000 Subject: [PATCH] Fix issue with grouped task rects being calculated slightly off - This was causing bleed through between split tasks and perhaps some rounded corners to be calculated incorrectly - Also reset the translation after it is adjusted for dismissing in case the dismiss gesture is canceled. This doesn't fix the issue with bleed through between the task views (to be fixed separately), but makes sure it isn't permanently set on the task Bug: 206739664 Test: Split tasks, swipe up and check the bounds Change-Id: I34430e958ca7a75f48621bc27a281e93fdf97179 --- .../android/quickstep/views/RecentsView.java | 8 +++---- .../touch/PortraitPagedViewHandler.java | 23 ++++++++----------- .../util/SplitConfigurationOptions.java | 4 ++++ 3 files changed, 17 insertions(+), 18 deletions(-) diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java index 0188962da9..8577bc9378 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/src/com/android/quickstep/views/RecentsView.java @@ -3014,6 +3014,10 @@ public abstract class RecentsView