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

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

Merge "Refine CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE" into tm-dev

parents 63762797 fa2510f0
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -382,7 +382,7 @@ public abstract class PanelViewController {

    protected void startExpandMotion(float newX, float newY, boolean startTracking,
            float expandedHeight) {
        if (!mHandlingPointerUp) {
        if (!mHandlingPointerUp && !mStatusBarStateController.isDozing()) {
            beginJankMonitoring(CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE);
        }
        mInitialOffsetOnTouch = expandedHeight;
@@ -654,8 +654,10 @@ public abstract class PanelViewController {

            @Override
            public void onAnimationStart(Animator animation) {
                if (!mStatusBarStateController.isDozing()) {
                    beginJankMonitoring(CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE);
                }
            }

            @Override
            public void onAnimationCancel(Animator animation) {