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

Commit 40d4676e authored by Michael Jurka's avatar Michael Jurka
Browse files

Remove duplicate code to update wallpaper

parent 5293d0cb
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -294,13 +294,6 @@ public class ImageWallpaper extends WallpaperService {
                updateWallpaperLocked();
            }

            if (mBackground == null) {
                // If we somehow got to this point after we have last flushed
                // the wallpaper, well we really need it to draw again.  So
                // seems like we need to reload it.  Ouch.
                updateWallpaperLocked();
            }

            SurfaceHolder sh = getSurfaceHolder();
            final Rect frame = sh.getSurfaceFrame();
            final int dw = frame.width();