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

Commit bf0d4992 authored by Al Sutton's avatar Al Sutton Committed by Android (Google) Code Review
Browse files

Merge "Report when a restored live wallpaper isn't available."

parents 1c429122 80cfdbb5
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -238,8 +238,11 @@ public class WallpaperBackupAgent extends BackupAgent {
                    mWm.clear(FLAG_LOCK);
                }
            } else {
                if (DEBUG) {
                    Slog.v(TAG, "Can't use wallpaper service " + wpService);
                // If we've restored a live wallpaper, but the component doesn't exist,
                // we should log it as an error so we can easily identify the problem
                // in reports from users
                if (wpService != null) {
                    Slog.e(TAG, "Wallpaper service " + wpService + " isn't available.");
                }
            }
        } catch (Exception e) {