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

Commit 2d2f47f1 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 11920703 from 1d1fba76 to 24Q3-release

Change-Id: Iaee4a3f5910722fae54729116dd5b5628f97273a
parents 88f7f5cc 1d1fba76
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);
        }