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

Commit 601bd9b4 authored by Roman Birg's avatar Roman Birg
Browse files

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

This reverts commit c1b2f5c5.

Change-Id: I765022e4d74a7aaa3ee9360eac031c430330af48
parent 1a665a30
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -746,7 +746,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);