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

Commit 0adefbd1 authored by Michael Jurka's avatar Michael Jurka Committed by Android (Google) Code Review
Browse files

Merge "Remove duplicate code to update wallpaper"

parents e1a1e403 40d4676e
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();