From 638ee17821ac41c4c71196ba947966805c5f462c Mon Sep 17 00:00:00 2001 From: Sergey Pinkevich Date: Wed, 6 Dec 2023 17:40:10 +0000 Subject: [PATCH] Select task is broken on display large size The update of the focus task overlay should be at last, cause otherwise the first time the "Select" button doesn't work - the text is not highlighted. Also, we need to update pivot of the selected task only if there is a grid overview enabled. Otherwise the bug is still reproducible on Felix. Bug: 305125147 Flag: NONE Test: Manual (both on Tangor and Felix in Portrait/Landscape mode with small/medium/large Display size) Change-Id: Id928cee0949b9124aeb27cc8210a53993e72ba19 --- .../android/quickstep/views/RecentsView.java | 22 ++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java index ebb6ba8c07..997624f3d1 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/src/com/android/quickstep/views/RecentsView.java @@ -4382,11 +4382,14 @@ public abstract class RecentsView