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

Commit bb08b6fe authored by Aurélien Pomini's avatar Aurélien Pomini Committed by Android (Google) Code Review
Browse files

Merge "Clear the right target upon wallpaper failure." into main

parents 28118aff 0077207c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1269,7 +1269,8 @@ public class WallpaperManagerService extends IWallpaperManager.Stub
                                    && mWallpaper.lastDiedTime + MIN_WALLPAPER_CRASH_TIME
                                    > SystemClock.uptimeMillis()) {
                                Slog.w(TAG, "Reverting to built-in wallpaper!");
                                clearWallpaperLocked(FLAG_SYSTEM, mWallpaper.userId, false, null);
                                clearWallpaperLocked(
                                        mWallpaper.mWhich, mWallpaper.userId, false, null);
                            } else {
                                mWallpaper.lastDiedTime = SystemClock.uptimeMillis();
                                tryToRebind();