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

Commit d5d115a2 authored by Jay Aliomer's avatar Jay Aliomer
Browse files

Update local wallpaper colors when areas added and fix stale clock

Test: manual
Fixes: 200252681
Change-Id: I5e46f5513eebe8ef1d1b01338e323bca6ea401b8
parent bcc3f653
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1575,7 +1575,7 @@ public abstract class WallpaperService extends Service {
        void updatePage(EngineWindowPage currentPage, int pageIndx, int numPages,
                float xOffsetStep) {
            // to save creating a runnable, check twice
            long current = SystemClock.elapsedRealtime();
            long current = System.currentTimeMillis();
            long lapsed = current - currentPage.getLastUpdateTime();
            // Always update the page when the last update time is <= 0
            // This is important especially when the device first boots
@@ -1768,6 +1768,7 @@ public abstract class WallpaperService extends Service {
                    return;
                }
            }
            processLocalColors(mPendingXOffset, mPendingYOffset);
        }

        /**