Merge "Use taskbarSize as bottom inset when taskbar is present." into sc-dev

This commit is contained in:
Tony Wickham authored and Android (Google) Code Review committed 2021-03-19 18:15:52 +00:00
commit 4076cae87f
2 files changed
+3 -3

No files matched your search

@@ -472,7 +472,7 @@ public class TaskbarController {
public void alignRealHotseatWithTaskbar() {
Rect hotseatBounds = new Rect();
DeviceProfile grid = mLauncher.getDeviceProfile();
int hotseatHeight = grid.workspacePadding.bottom + grid.getInsets().bottom;
int hotseatHeight = grid.workspacePadding.bottom + grid.taskbarSize;
int hotseatTopDiff = hotseatHeight - grid.taskbarSize;
mTaskbarView.getHotseatBoundsAtScale(getTaskbarScaleOnHome()).roundOut(hotseatBounds);