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

Commit 3c1ae69b authored by Roman Birg's avatar Roman Birg Committed by Steve Kondik
Browse files

Revert "systemui: Fix race condition in setting notification panel height"

This reverts commit 257b3d48.

Change-Id: I0fa1a3a5bc181f259c0248662c9c78524f21c9cc
parent 90cd2a17
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -638,7 +638,7 @@ public abstract class PanelView extends FrameLayout {
        }
    }

    public synchronized void setExpandedHeightInternal(float h) {
    public void setExpandedHeightInternal(float h) {
        float fhWithoutOverExpansion = getMaxPanelHeight() - getOverExpansionAmount();
        if (mHeightAnimator == null) {
            float overExpansionPixels = Math.max(0, h - fhWithoutOverExpansion);