From b7c91b9d2e42ed5d397e4bee06b5b6d7aab9a89c Mon Sep 17 00:00:00 2001 From: Vinit Nayak Date: Fri, 17 Sep 2021 11:45:25 -0700 Subject: [PATCH] Prevent focusing next task if focused task part of split select * Also ensure that in tablet portrait we shift thumbnails to prevent overlap with the placeholder view. I'm guessing the time that was written maybe the grid was taking up a smaller space? Fixes: 199898622 Test: Go into split selection with focused task, next task doesn't take focus. Grid shifts down to not overlap with placeholder view. Change-Id: I4ed37b1d28287685ad01885331dffd764c7ddfc9 --- .../src/com/android/quickstep/views/RecentsView.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java index e25a8bc5f1..eda035c605 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/src/com/android/quickstep/views/RecentsView.java @@ -2721,7 +2721,7 @@ public abstract class RecentsView 0 && mTopRowIdSet.size() >= (taskCount - 1) / 2f; // Pick the next focused task from the preferred row. @@ -2904,7 +2904,8 @@ public abstract class RecentsView