Merge "resolve merge conflicts of 6d9e866669
to sc-v2-dev" into sc-v2-dev
This commit is contained in:
commit
831225d834
|
@ -80,10 +80,10 @@
|
|||
launcher:b="16dp"/>
|
||||
<workspaceBottomPadding
|
||||
launcher:a="1"
|
||||
launcher:c="52dp"/>
|
||||
launcher:c="72dp"/>
|
||||
<hotseatBottomPadding
|
||||
launcher:a="0"
|
||||
launcher:b="36dp"/>
|
||||
launcher:b="56dp"/>
|
||||
</device-padding>
|
||||
|
||||
<device-padding
|
||||
|
@ -93,10 +93,10 @@
|
|||
launcher:b="39dp"/>
|
||||
<workspaceBottomPadding
|
||||
launcher:a="1"
|
||||
launcher:c="75dp"/>
|
||||
launcher:c="95dp"/>
|
||||
<hotseatBottomPadding
|
||||
launcher:a="0"
|
||||
launcher:b="36dp"/>
|
||||
launcher:b="56dp"/>
|
||||
</device-padding>
|
||||
|
||||
<device-padding
|
||||
|
|
|
@ -848,11 +848,11 @@ public class DeviceProfile {
|
|||
? workspacePadding.bottom
|
||||
: hotseatBarSizePx - hotseatCellHeightPx - hotseatQsbHeight;
|
||||
|
||||
if (isScalableGrid) {
|
||||
if (isScalableGrid && qsbBottomMarginPx > mInsets.bottom) {
|
||||
return Math.min(qsbBottomMarginPx, freeSpace);
|
||||
} else {
|
||||
} else {
|
||||
return (int) (freeSpace * QSB_CENTER_FACTOR)
|
||||
+ (isTaskbarPresent ? taskbarSize : getInsets().bottom);
|
||||
+ (isTaskbarPresent ? taskbarSize : mInsets.bottom);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue