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

Commit 26ee85db authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Refine CUJ_NOTIFICATION_SHADE_EXPAND_COLLAPSE" into tm-dev am: c91767f3

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17152507

Change-Id: Id0b089ff49ad349cb7285536855034b114a59c6c
parents 63c664a1 c91767f3
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) {