From ba13095fdcd8b0ccac09539be8fabb7dc073df01 Mon Sep 17 00:00:00 2001 From: Lucas Dupin Date: Thu, 14 Dec 2017 14:50:11 -0800 Subject: [PATCH] Log wallpaper redraw Added logging to make it easier to debug and re-route drawing problems. Test: Set wallpaper, look at logs. Test: Rotate screen, look at logs. Bug: 70361780 Change-Id: I894bc6217b1ffd804a07f0f631f57d72b968dd63 --- packages/SystemUI/src/com/android/systemui/ImageWallpaper.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/ImageWallpaper.java b/packages/SystemUI/src/com/android/systemui/ImageWallpaper.java index 593bb508f9b01..a59c97e0d08df 100644 --- a/packages/SystemUI/src/com/android/systemui/ImageWallpaper.java +++ b/packages/SystemUI/src/com/android/systemui/ImageWallpaper.java @@ -494,7 +494,8 @@ public class ImageWallpaper extends WallpaperService { } if (mBackground != null) { RectF dest = new RectF(left, top, right, bottom); - // add a filter bitmap? + Log.i(TAG, "Redrawing in rect: " + dest + " with surface size: " + + mLastRequestedWidth + "x" + mLastRequestedHeight); c.drawBitmap(mBackground, null, dest, null); } } finally {