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

Commit abf84f7c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix flickering when swiping on fingerprint reader to show notifications." into qt-dev

parents 95706d0c b6aadb49
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);
        }
    }