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

Commit cf845036 authored by Evan Laird's avatar Evan Laird
Browse files

DO NOT MERGE: Use quick_qs_total_height when QS is not disabled

A change in the logic of QuickStatusBarHeader#updateResources
mistakenly used quick_qs_offset_height for the total height of the qqs
panel instead of quick_qs_total_height. This caused the quick-quick
settings panel to be too short on devices which don't have a large
notch.

Test: visual, on device without a notch
Change-Id: I0deed2560328501e547b04239133e350cdac4ff6
Fixes: 111554577
parent 0e5e46f8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -303,7 +303,7 @@ public class QuickStatusBarHeader extends RelativeLayout implements
        } else {
            lp.height = Math.max(getMinimumHeight(),
                    resources.getDimensionPixelSize(
                            com.android.internal.R.dimen.quick_qs_offset_height));
                            com.android.internal.R.dimen.quick_qs_total_height));
        }

        setLayoutParams(lp);