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

Commit 431906b3 authored by Christopher Tate's avatar Christopher Tate
Browse files

Turn on dimension validation in wallpaper restore

Bug 17906491

Change-Id: I4c76c3197df95b51a6e44d1fe2d522b6c05284e5
parent 8f25f390
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ public class WallpaperBackupHelper extends FileBackupHelperBase implements Backu
    // If 'true', then apply an acceptable-size heuristic at restore time, dropping back
    // to the factory default wallpaper if the restored one differs "too much" from the
    // device's preferred wallpaper image dimensions.
    private static final boolean REJECT_OUTSIZED_RESTORE = false;
    private static final boolean REJECT_OUTSIZED_RESTORE = true;

    // This path must match what the WallpaperManagerService uses
    // TODO: Will need to change if backing up non-primary user's wallpaper