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

Commit b6aadb49 authored by Aran Ink's avatar Aran Ink
Browse files

Fix flickering when swiping on fingerprint reader to show notifications.

Test: tap on notification on lock screen
Test: tap on notification on shade locked
Test: swipe down from the top expanding QS
Test: swipe up from LS
Test: switch between pin, pattern and password
Test: add and remove locked sim card

Fixes: 132701117
Change-Id: I835ab59789771f2f39f8d9f822165552b1f65aa1
parent 3bd719b5
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -1169,14 +1169,13 @@ public abstract class PanelView extends FrameLayout {
    }

    protected void notifyBarPanelExpansionChanged() {
        float fraction = mInstantExpanding ? 1 : mExpandedFraction;
        if (mBar != null) {
            mBar.panelExpansionChanged(fraction, fraction > 0f
            mBar.panelExpansionChanged(mExpandedFraction, mExpandedFraction > 0f
                    || mPeekAnimator != null || mInstantExpanding
                    || isPanelVisibleBecauseOfHeadsUp() || mTracking || mHeightAnimator != null);
        }
        if (mExpansionListener != null) {
            mExpansionListener.onPanelExpansionChanged(fraction, mTracking);
            mExpansionListener.onPanelExpansionChanged(mExpandedFraction, mTracking);
        }
    }