Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Verified Commit dc762bd7 authored by Saalim Quadri's avatar Saalim Quadri
Browse files

feat: Always adjust to minQSBMargin instead of keeping full space

parent 01323bad
Loading
Loading
Loading
Loading
+5 −1
Original line number Original line Diff line number Diff line
@@ -989,10 +989,14 @@ public class DeviceProfile {
                }
                }
                hotseatBarBottomSpacePx = mInsets.bottom + minQsbMargin;
                hotseatBarBottomSpacePx = mInsets.bottom + minQsbMargin;


            } else {
                if (!isGestural() && mInsets.bottom < minQsbMargin) {
                    hotseatBarBottomSpacePx = minQsbMargin;
                } else {
                } else {
                    hotseatBarBottomSpacePx = hotseatBarBottomSpace;
                    hotseatBarBottomSpacePx = hotseatBarBottomSpace;
                }
                }
            }
            }
        }


        hotseatBarBottomSpacePx += mInfo.cutout.bottom;
        hotseatBarBottomSpacePx += mInfo.cutout.bottom;
        hotseatBarBottomSpacePx += (areNavButtonsInline && FORCE_LAYOUT_ALL_HOTSEAT_ICONS
        hotseatBarBottomSpacePx += (areNavButtonsInline && FORCE_LAYOUT_ALL_HOTSEAT_ICONS