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

Commit a42947a6 authored by Jonathan Miranda's avatar Jonathan Miranda
Browse files

[automerger] Fix bug where workspace is not aligned with hotseat in landscape. am: 9593f9ed

Change-Id: I780f4e8daaa9db4f9740c345d462d129b1e83ee0
parents b1104927 9593f9ed
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -643,7 +643,8 @@ public class Workspace extends PagedView
        newScreen.setSoundEffectsEnabled(false);

        int paddingLeftRight = mLauncher.getDeviceProfile().cellLayoutPaddingLeftRightPx;
        newScreen.setPadding(paddingLeftRight, 0, paddingLeftRight, 0);
        int paddingBottom = mLauncher.getDeviceProfile().cellLayoutBottomPaddingPx;
        newScreen.setPadding(paddingLeftRight, 0, paddingLeftRight, paddingBottom);

        mWorkspaceScreens.put(screenId, newScreen);
        mScreenOrder.add(insertIndex, screenId);