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
This commit is contained in:
Lucas Dupin
2017-12-14 14:50:11 -08:00
parent 2c2ce763b7
commit ba13095fdc

View File

@@ -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 {