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

Commit 4d387831 authored by bvineeth's avatar bvineeth Committed by Vineeth Bhende
Browse files

Fix taskbar_expand/collapse jank monitor

Issue : Currently opposite jank is being reported taskbar expand and taskbar collapse


Test: Checked the trace
Fixes: b/326333977
Flag: None
Change-Id: Ib5adeb33506717ee28d669c5d46557087ebf7e60
parent 5fbbbcef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -573,7 +573,7 @@ public class TaskbarStashController implements TaskbarControllers.LoggableTaskba
        }
        mAnimator = new AnimatorSet();
        addJankMonitorListener(
                mAnimator, /* expanding= */ !mIsStashed, /* animationType= */ animationType);
                mAnimator, /* expanding= */ !isStashed, /* animationType= */ animationType);
        boolean isTransientTaskbar = DisplayController.isTransientTaskbar(mActivity);
        final float stashTranslation = mActivity.isPhoneMode() || isTransientTaskbar
                ? 0