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

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

Merge "Clean up unused debug logs for b/319168409" into main

parents 9cde09e3 becf8d52
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -457,9 +457,6 @@ public class ClockDrawableWrapper extends AdaptiveIconDrawable implements Bitmap

        @Override
        public void run() {
            if (sRunningInTest) {
                Log.d("b/319168409", "running this: " + this);
            }
            if (mAnimInfo.applyTime(mTime, mFG)) {
                invalidateSelf();
            } else {
@@ -473,9 +470,6 @@ public class ClockDrawableWrapper extends AdaptiveIconDrawable implements Bitmap
            if (visible) {
                reschedule();
            } else {
                if (sRunningInTest) {
                    Log.d("b/319168409", "unScheduling self invisible this: " + this);
                }
                unscheduleSelf(this);
            }
            return result;
@@ -485,15 +479,9 @@ public class ClockDrawableWrapper extends AdaptiveIconDrawable implements Bitmap
            if (!isVisible()) {
                return;
            }
            if (sRunningInTest) {
                Log.d("b/319168409", "unScheduling self this: " + this);
            }
            unscheduleSelf(this);
            final long upTime = SystemClock.uptimeMillis();
            final long step = TICK_MS; /* tick every 200 ms */
            if (sRunningInTest) {
                Log.d("b/319168409", "scheduling self this: " + this, new Throwable());
            }
            scheduleSelf(this, upTime - ((upTime % step)) + step);
        }