summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author Sebastián Franco <fransebas@google.com> 2025-03-21 09:09:09 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2025-03-21 09:09:09 -0700
commitf33242b9e6c406d2665f88efa8e94870cdb35564 (patch)
treeeb6c44ece8eb70397977732e0aac7ceb51d96622 /src
parent49f7acf7a4acc4847b104a0990b54d4c10cbdd29 (diff)
parent82385f0b6a4c2a58c6c10cb09326b9cfd705093a (diff)
Merge "Return correct QSB bottom padding when QSB is inline" into main
Diffstat (limited to 'src')
-rw-r--r--src/com/android/launcher3/DeviceProfile.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/DeviceProfile.java b/src/com/android/launcher3/DeviceProfile.java
index de0fefa6ff..e17f5b26c5 100644
--- a/src/com/android/launcher3/DeviceProfile.java
+++ b/src/com/android/launcher3/DeviceProfile.java
@@ -2082,7 +2082,7 @@ public class DeviceProfile {
* Returns the number of pixels the hotseat is translated from the bottom of the screen.
*/
private int getHotseatBarBottomPadding() {
- if (isTaskbarPresent) { // QSB on top or inline
+ if (isTaskbarPresent || isQsbInline) { // QSB on top or inline
return hotseatBarBottomSpacePx - (Math.abs(hotseatCellHeightPx - iconSizePx) / 2);
} else {
return hotseatBarSizePx - hotseatCellHeightPx;