diff options
author | Michael Jurka <mikejurka@google.com> | 2012-06-21 08:41:07 -0700 |
---|---|---|
committer | Michael Jurka <mikejurka@google.com> | 2012-06-21 08:41:07 -0700 |
commit | 40d4676eab24e104728981bf1059d2211fbf28d1 (patch) | |
tree | fd136a4adb44a0704a0a57df1b9cbfba4553ccc2 /packages/SystemUI/src/com/android/systemui/ImageWallpaper.java | |
parent | 5293d0cb2e0689dafd5ed821d479babfa6e008f9 (diff) | |
download | frameworks_base-40d4676eab24e104728981bf1059d2211fbf28d1.zip frameworks_base-40d4676eab24e104728981bf1059d2211fbf28d1.tar.gz frameworks_base-40d4676eab24e104728981bf1059d2211fbf28d1.tar.bz2 |
Remove duplicate code to update wallpaper
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/ImageWallpaper.java')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/ImageWallpaper.java | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/ImageWallpaper.java b/packages/SystemUI/src/com/android/systemui/ImageWallpaper.java index b0a7c4b..a72074e 100644 --- a/packages/SystemUI/src/com/android/systemui/ImageWallpaper.java +++ b/packages/SystemUI/src/com/android/systemui/ImageWallpaper.java @@ -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(); |