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

Commit 19f6e5e7 authored by Wei Sheng Shih's avatar Wei Sheng Shih Committed by Automerger Merge Worker
Browse files

Merge "Force relayout when wallpaper engine become visible." into rvc-dev am:...

Merge "Force relayout when wallpaper engine become visible." into rvc-dev am: ec30716a am: 8b3f702c

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11863063

Change-Id: I28b6ee756fb6d02f723bcf15f9fa4e21985783b0
parents e5b9e980 8b3f702c
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -1229,7 +1229,8 @@ public abstract class WallpaperService extends Service {
                        // may have been destroyed so now we need to make
                        // may have been destroyed so now we need to make
                        // sure it is re-created.
                        // sure it is re-created.
                        doOffsetsChanged(false);
                        doOffsetsChanged(false);
                        updateSurface(false, false, false);
                        // force relayout to get new surface
                        updateSurface(true, false, false);
                    }
                    }
                    onVisibilityChanged(visible);
                    onVisibilityChanged(visible);
                }
                }