Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4776d2e0 authored by Jeremy Sim's avatar Jeremy Sim Committed by Automerger Merge Worker
Browse files

Merge "Fix small bug with Overview action button placement" into tm-qpr-dev...

Merge "Fix small bug with Overview action button placement" into tm-qpr-dev am: e1741433 am: f853e1a8

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19292689



Change-Id: If8a12f9deb2fed17d26031d3b0bc7e898da6adf8
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents c3936a52 f853e1a8
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -204,7 +204,11 @@ public class OverviewActionsView<T extends OverlayUICallbacks> extends FrameLayo
        if (mDp == null) {
            return;
        }
        if (mDp.areNavButtonsInline) {
        boolean largeScreenLandscape = mDp.isTablet && !mDp.isTwoPanels && mDp.isLandscape;
        // If in 3-button mode, shift action buttons to accommodate 3-button layout.
        // (Special exception for landscape tablets, where there is enough room and we don't need to
        // shift the action buttons.)
        if (mDp.areNavButtonsInline && !largeScreenLandscape) {
            // Add extra horizontal spacing
            int additionalPadding = mDp.hotseatBarEndOffset;
            if (isLayoutRtl()) {