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

Commit 3389ba99 authored by Beverly Tai's avatar Beverly Tai Committed by Automerger Merge Worker
Browse files

Merge "Notify expanding state for QS expand method" into rvc-dev am: bad07bed am: 38bc1e50

Change-Id: I16ccd6d24a2da0bc0ff5f8b9f3f4f0a7f27109fb
parents 61c89afd 38bc1e50
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1779,8 +1779,14 @@ public class NotificationPanelViewController extends PanelViewController {
            setQsExpansion((Float) animation.getAnimatedValue());
        });
        animator.addListener(new AnimatorListenerAdapter() {
            @Override
            public void onAnimationStart(Animator animation) {
                notifyExpandingStarted();
            }

            @Override
            public void onAnimationEnd(Animator animation) {
                notifyExpandingFinished();
                mNotificationStackScroller.resetCheckSnoozeLeavebehind();
                mQsExpansionAnimator = null;
                if (onFinishRunnable != null) {
+1 −1
Original line number Diff line number Diff line
@@ -157,7 +157,7 @@ public abstract class PanelViewController {
    protected void onExpandingStarted() {
    }

    private void notifyExpandingStarted() {
    protected void notifyExpandingStarted() {
        if (!mExpanding) {
            mExpanding = true;
            onExpandingStarted();