Merge "Report an offset change in a live wallpaper when the wallpaper is resized. Bug #2489288"
This commit is contained in:
@@ -821,6 +821,7 @@ public abstract class WallpaperService extends Service {
|
||||
case MSG_WINDOW_RESIZED: {
|
||||
final boolean reportDraw = message.arg1 != 0;
|
||||
mEngine.updateSurface(true, false);
|
||||
mEngine.doOffsetsChanged();
|
||||
if (reportDraw) {
|
||||
try {
|
||||
mEngine.mSession.finishDrawing(mEngine.mWindow);
|
||||
|
||||
Reference in New Issue
Block a user