From 587cb926b89ff2b7b57289b13d7d76693eae8517 Mon Sep 17 00:00:00 2001 From: Tony Huang Date: Thu, 8 Sep 2022 03:56:39 +0000 Subject: [PATCH] Fix split recent thumbnail disappear This bug should caused by we reset side stage position after dismissing split screen. It might cause race condition but still do not know why it cause such symptom. Because this reset action is just purpuse to make every time user launch adjacent the new task is expand from right or bottom side, remove this is no risk. Fix: 243628874 Test: manaul Test: pass existing tests Change-Id: I171aafe775484a6b25b343eeea1b1f3cbc99b452 --- .../src/com/android/wm/shell/splitscreen/StageCoordinator.java | 1 - 1 file changed, 1 deletion(-) diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/StageCoordinator.java b/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/StageCoordinator.java index dcfe08d7a3299..6a2641055805e 100644 --- a/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/StageCoordinator.java +++ b/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/StageCoordinator.java @@ -1840,7 +1840,6 @@ public class StageCoordinator implements SplitLayout.SplitLayoutHandler, // properly for the animation itself. mSplitLayout.release(); mSplitLayout.resetDividerPosition(); - mSideStagePosition = SPLIT_POSITION_BOTTOM_OR_RIGHT; mTopStageAfterFoldDismiss = STAGE_TYPE_UNDEFINED; } }