diff options
| author | 2014-08-26 17:08:04 -0700 | |
|---|---|---|
| committer | 2014-08-26 17:08:04 -0700 | |
| commit | 8ab0865156d447fbebcc366164ca7c57108ea57c (patch) | |
| tree | be484ee3723f05f84237812f301406a047f2361a | |
| parent | 4610545dd28ebf316704e119572521e97dbbd6bd (diff) | |
Briefly log wallpaper restore outcomes
Bug 17112780
Change-Id: I3e9a23d28c9df4f708eb24b4688322c21a8c8382
| -rw-r--r-- | core/java/android/app/backup/WallpaperBackupHelper.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/app/backup/WallpaperBackupHelper.java b/core/java/android/app/backup/WallpaperBackupHelper.java index 9e8ab2c5bfbb..056750043776 100644 --- a/core/java/android/app/backup/WallpaperBackupHelper.java +++ b/core/java/android/app/backup/WallpaperBackupHelper.java @@ -141,13 +141,13 @@ public class WallpaperBackupHelper extends FileBackupHelperBase implements Backu if (widthRatio > 0 && widthRatio < 1.33 && heightRatio > 0 && heightRatio < 1.33) { // sufficiently close to our resolution; go ahead and use it - if (DEBUG) Slog.d(TAG, "wallpaper dimension match; using"); + Slog.d(TAG, "Applying restored wallpaper image."); f.renameTo(new File(WALLPAPER_IMAGE)); // TODO: spin a service to copy the restored image to sd/usb storage, // since it does not exist anywhere other than the private wallpaper // file. } else { - if (DEBUG) Slog.d(TAG, "dimensions too far off: wr=" + widthRatio + Slog.i(TAG, "Dimensions too far off; using default wallpaper. wr=" + widthRatio + " hr=" + heightRatio); f.delete(); } |