fix: Blank QSB space being override by hotseat grid adjustment (#7148)
This commit is contained in:
1 parent
aecfed6d55
commit
4c76a6bb64
2 files changed
+29
-8
No files matched your search
@@ -525,7 +525,7 @@ public class DeviceProfile {
|
||||
|
||||
numShownAllAppsColumns = displayOptionSpec.numAllAppsColumns;
|
||||
|
||||
int hotseatBarBottomSpace = !isQsbEnable ? 0 : pxFromDp(inv.hotseatBarBottomSpace[mTypeIndex], mMetrics);
|
||||
int hotseatBarBottomSpace = pxFromDp(inv.hotseatBarBottomSpace[mTypeIndex], mMetrics);
|
||||
int minQsbMargin = res.getDimensionPixelSize(R.dimen.min_qsb_margin);
|
||||
|
||||
if (mIsResponsiveGrid) {
|
||||
@@ -552,6 +552,7 @@ public class DeviceProfile {
|
||||
}
|
||||
|
||||
if (!isQsbEnable) {
|
||||
hotseatBarBottomSpace = 0;
|
||||
hotseatQsbSpace = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user