Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba13095f authored by Lucas Dupin's avatar Lucas Dupin
Browse files

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
parent 2c2ce763
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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 {