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

Commit f92af1d4 authored by Jon Miranda's avatar Jon Miranda
Browse files

Use insets and hotseatCellHeightPx to set search container height.

In a previous refactor, I mistakenly used hotseatBarHeightPx instead of
hotseatCellHeightPx.

Bug: 32176631
Change-Id: I53ef8fa29a6980dcb33bb979d1bed98317c8ade2
parent 99014e5c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -315,7 +315,8 @@ public class AllAppsContainerView extends BaseContainerView implements DragSourc
            if (!grid.isVerticalBarLayout()) {
                MarginLayoutParams searchContainerLp =
                        (MarginLayoutParams) mSearchContainer.getLayoutParams();
                searchContainerLp.height = grid.hotseatBarHeightPx;
                searchContainerLp.height = mLauncher.getDragLayer().getInsets().top
                        + grid.hotseatCellHeightPx;
                mSearchContainer.setLayoutParams(searchContainerLp);
            }
            super.onMeasure(widthMeasureSpec, heightMeasureSpec);