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

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

Merge "Replace currentAnimationTimeMillis with getDrawingTime in updateInfrequentCount" into main

parents da7c5ea5 5cf22a8b
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;