summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/ImageWallpaper.java
diff options
context:
space:
mode:
authorMichael Jurka <mikejurka@google.com>2012-06-21 08:41:07 -0700
committerMichael Jurka <mikejurka@google.com>2012-06-21 08:41:07 -0700
commit40d4676eab24e104728981bf1059d2211fbf28d1 (patch)
treefd136a4adb44a0704a0a57df1b9cbfba4553ccc2 /packages/SystemUI/src/com/android/systemui/ImageWallpaper.java
parent5293d0cb2e0689dafd5ed821d479babfa6e008f9 (diff)
downloadframeworks_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.java7
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();