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

Commit 5cf22a8b authored by Shane's avatar Shane
Browse files

Replace currentAnimationTimeMillis with getDrawingTime in updateInfrequentCount

Replace currentAnimationTimeMillis with getDrawingTime in updateInfrequentCount

Bug: 328728504
Test: Atest WindowMagnificationAnimationControllerTest / atest
ViewRootImplTest

Change-Id: If326c70f4ba217feb460195dbf0e4a5d7321d0ee
parent 742f7de4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -33874,7 +33874,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
     * - otherwise, use the previous category value.
     */
    private void updateInfrequentCount() {
        long currentTimeMillis = AnimationUtils.currentAnimationTimeMillis();
        long currentTimeMillis = getDrawingTime();
        long timeIntervalMillis = currentTimeMillis - mLastUpdateTimeMillis;
        mMinusTwoFrameIntervalMillis = mMinusOneFrameIntervalMillis;
        mMinusOneFrameIntervalMillis = timeIntervalMillis;