From e73833600193b5db18e484c76ae46fcc09d7c099 Mon Sep 17 00:00:00 2001 From: Schneider Victor-tulias Date: Fri, 14 Oct 2022 12:58:21 -0700 Subject: [PATCH] Fix missing screenshots on rotate from recents view select state Rotating while in the recents view select state causes all taskview screenshots to disappear. Removing the transition to overview also fixes this, but leaves launcher in an incorrect state. - Updated API to allow transitioning states without animation. - Removed the animation to update the state correctly while keeping the ui working. Fixes: 251067808 Test: rotated back and forth on large and small devices, before and after entering select mode Change-Id: I5bf89ceb1f6b27cde9f7638f32fee3a78ad85ff6 --- .../android/quickstep/fallback/FallbackRecentsView.java | 7 +++---- .../com/android/quickstep/views/LauncherRecentsView.java | 7 +++---- .../src/com/android/quickstep/views/RecentsView.java | 9 +++------ 3 files changed, 9 insertions(+), 14 deletions(-) diff --git a/quickstep/src/com/android/quickstep/fallback/FallbackRecentsView.java b/quickstep/src/com/android/quickstep/fallback/FallbackRecentsView.java index e32aaee532..89def5f126 100644 --- a/quickstep/src/com/android/quickstep/fallback/FallbackRecentsView.java +++ b/quickstep/src/com/android/quickstep/fallback/FallbackRecentsView.java @@ -200,13 +200,12 @@ public class FallbackRecentsView extends RecentsView