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

Commit c314c0df authored by Lucas Dupin's avatar Lucas Dupin Committed by android-build-merger
Browse files

Merge "Do not reload bitmap unless necessary" into oc-dr1-dev am: c4c5d606

am: 7ab87b35

Change-Id: Ic24856152dda569dff27ef5dc219c19e7a783a63
parents d066fa9b 7ab87b35
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -199,7 +199,7 @@ public class ImageWallpaper extends WallpaperService {
            // Load background image dimensions, if we haven't saved them yet
            if (mBackgroundWidth <= 0 || mBackgroundHeight <= 0) {
                // Need to load the image to get dimensions
                loadWallpaper(forDraw, true /* needsReset */);
                loadWallpaper(forDraw, false /* needsReset */);
                if (DEBUG) {
                    Log.d(TAG, "Reloading, redoing updateSurfaceSize later.");
                }