Skip to content

Commit e47b89c

Browse files
Christopher TateAndroid (Google) Code Review
authored andcommitted
Merge "Fix wallpaper restore"
2 parents 25d888b + bf6ee4f commit e47b89c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/java/android/app/backup/WallpaperBackupHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
*/
3636
public class WallpaperBackupHelper extends FileBackupHelperBase implements BackupHelper {
3737
private static final String TAG = "WallpaperBackupHelper";
38-
private static final boolean DEBUG = true;
38+
private static final boolean DEBUG = false;
3939

4040
// This path must match what the WallpaperManagerService uses
4141
private static final String WALLPAPER_IMAGE = "/data/data/com.android.settings/files/wallpaper";

services/java/com/android/server/WallpaperManagerService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ void settingsRestored() {
834834
}
835835
if (DEBUG) Slog.v(TAG, "settingsRestored: success=" + success);
836836
if (success) {
837-
bindWallpaperComponentLocked(null, false, false);
837+
bindWallpaperComponentLocked(mNextWallpaperComponent, false, false);
838838
}
839839
}
840840
}

0 commit comments

Comments
 (0)