commit | 264a7e3336ff917a910eee87677d8d12c8a0bae6 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | Thu Jun 20 14:41:18 2024 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Jun 20 14:41:18 2024 +0000 |
tree | 76e14c11c8b0368e5664e6fd523cdb5bfdb1283b | |
parent | 3d088e3899cfca516dfa8ae9699691ece2b914d9 [diff] | |
parent | 91602f658c714c76a9269d528dc86abad01b8f44 [diff] |
Merge "Move testQuickSwitchFromHome to possubmit" into main
diff --git a/quickstep/src/com/android/quickstep/orientation/PortraitPagedViewHandler.java b/quickstep/src/com/android/quickstep/orientation/PortraitPagedViewHandler.java index 758a737..eeacee1 100644 --- a/quickstep/src/com/android/quickstep/orientation/PortraitPagedViewHandler.java +++ b/quickstep/src/com/android/quickstep/orientation/PortraitPagedViewHandler.java
@@ -259,7 +259,8 @@ return new Pair<>(translationX, translationY); } - bannerParams.gravity = BOTTOM | ((deviceProfile.isLandscape) ? START : CENTER_HORIZONTAL); + bannerParams.gravity = + BOTTOM | (deviceProfile.isLeftRightSplit ? START : CENTER_HORIZONTAL); // Set correct width if (desiredTaskId == splitBounds.leftTopTaskId) {