From 5c5028bf0ba108153eae4ca0f7f703b0c511f6ff Mon Sep 17 00:00:00 2001 From: Jordan Silva Date: Tue, 25 Mar 2025 12:23:14 -0700 Subject: [PATCH] Fix split chip wrong translation in Fake Landscape This change will prevent the split menu and app chip translation when in Fake Landscape and Fake Seascape. Fix: 406239562 Flag: com.android.launcher3.enable_overview_icon_menu Test: OverviewImageTest Test: OverviewSplitTaskImageTest Test: OverviewMenuImageTest Test: Manual. Instructions in the bug. Change-Id: Id4aade8ce15cc51e81d5b1b7a82597924cdce7ca --- quickstep/src/com/android/quickstep/views/TaskMenuView.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/quickstep/src/com/android/quickstep/views/TaskMenuView.kt b/quickstep/src/com/android/quickstep/views/TaskMenuView.kt index f7cb7bef78..c0b0e9a817 100644 --- a/quickstep/src/com/android/quickstep/views/TaskMenuView.kt +++ b/quickstep/src/com/android/quickstep/views/TaskMenuView.kt @@ -429,6 +429,7 @@ constructor(context: Context?, attrs: AttributeSet?, defStyleAttr: Int = 0) : var additionalTranslationX = 0f if ( + taskView.pagedOrientationHandler.isLayoutNaturalToLauncher && taskContainer.stagePosition == SplitConfigurationOptions.STAGE_POSITION_BOTTOM_OR_RIGHT ) { // Animate menu and icon when split task would display off the side of the screen.