commit | 616e0102a433e2bb5d3318be19aaba5f97588627 | [log] [tgz] |
---|---|---|
author | Thales Lima <tsuharesu@google.com> | Wed Jun 15 11:40:58 2022 +0100 |
committer | Thales Lima <tsuharesu@google.com> | Wed Jun 15 11:40:58 2022 +0100 |
tree | 1074e7de784f42196a5417ce7b2852cec7df5c3f | |
parent | b751033f302ec4a693cb283f43cb9006c3cd30d9 [diff] [blame] |
Fix QSB alignment Fix: 232908328 Test: manual Change-Id: If5516be6b8f7142577257f5ec5b5dfa8feca445d
diff --git a/src/com/android/launcher3/DeviceProfile.java b/src/com/android/launcher3/DeviceProfile.java index 87885f6..8c1f505 100644 --- a/src/com/android/launcher3/DeviceProfile.java +++ b/src/com/android/launcher3/DeviceProfile.java
@@ -1148,7 +1148,7 @@ private int getHotseatBottomPadding() { if (isQsbInline) { - return getQsbOffsetY() - (Math.abs(hotseatQsbHeight - hotseatCellHeightPx) / 2); + return getQsbOffsetY() + ((hotseatQsbHeight - hotseatCellHeightPx) / 2); } else { return (getQsbOffsetY() - taskbarSize) / 2; }