summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Lucas Dupin <dupin@google.com> 2018-09-25 16:11:42 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2018-09-25 16:11:42 +0000
commit828478dac01f29656294293069b9e981f2d65b47 (patch)
treeb0f5b035ac5b63abe85c477cc5746ee6baae1c5e
parent7dfd6cee398c8c918778c4be5800fb39fa01ce03 (diff)
parentd51863e994987a93cfcebf80410ae388f09a1f3c (diff)
Merge "Revert onSurfaceRedrawNeeded behavior"
-rw-r--r--packages/SystemUI/src/com/android/systemui/ImageWallpaper.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/ImageWallpaper.java b/packages/SystemUI/src/com/android/systemui/ImageWallpaper.java
index 77f4bf529f21..408e599bc289 100644
--- a/packages/SystemUI/src/com/android/systemui/ImageWallpaper.java
+++ b/packages/SystemUI/src/com/android/systemui/ImageWallpaper.java
@@ -256,12 +256,6 @@ public class ImageWallpaper extends WallpaperService {
Log.d(TAG, "onSurfaceRedrawNeeded");
}
super.onSurfaceRedrawNeeded(holder);
- // At the end of this method we should have drawn into the surface.
- // This means that the bitmap should be loaded synchronously if
- // it was already unloaded.
- if (mBackground == null) {
- updateBitmap(mWallpaperManager.getBitmap(true /* hardware */));
- }
mSurfaceRedrawNeeded = true;
drawFrame();
}