Use taskbarSize as bottom inset when taskbar is present.
This was done in ag/13841736 but not included in ag/13821586 Test: QSB in correct position when taskbar present and not present Bug: 171917176 Change-Id: I6aa220559afebe8710b5f01cdec9c2baa9f4c926
This commit is contained in:
1 parent
93f2b75223
commit
b31d8fc379
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);
|
||||
|
||||
Reference in new issue
Block a user