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

Commit 15852dc1 authored by Tony Wickham's avatar Tony Wickham Committed by Android (Google) Code Review
Browse files

Merge "Track shelf rather than app window" into ub-launcher3-edmonton-polish

parents bd88f396 7f300e3d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -187,7 +187,9 @@ public interface ActivityControlHelper<T extends BaseDraggingActivity> {
                int hotseatInset = dp.isSeascape() ? targetInsets.left : targetInsets.right;
                return dp.hotseatBarSizePx + dp.hotseatBarSidePaddingPx + hotseatInset;
            } else {
                return dp.heightPx - outRect.rect.bottom;
                int shelfHeight = dp.hotseatBarSizePx + dp.getInsets().bottom;
                // Track slightly below the top of the shelf (between top and content).
                return shelfHeight - dp.edgeMarginPx * 2;
            }
        }