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

Commit 1e54afcc authored by Owen Kim's avatar Owen Kim
Browse files

Revert "Only rescale wallpaper if its > display height"

Revert submission 14802973

Reason for revert: Droid cop: Possible culprits for Bug 190325415
Reverted Changes:
Ifc451f540:Cache set wallpaper as PNG instead of JPEG
Ifefd3e56d:Only rescale wallpaper if its > display height

Change-Id: If7c0b310a99189f8e80ca0b1049731edc9595696
parent 723d2c2c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -628,7 +628,7 @@ public class WallpaperManagerService extends IWallpaperManager.Stub
            }

            // scale if the crop height winds up not matching the recommended metrics
            needScale = cropHint.height() > wpData.mHeight
            needScale = wpData.mHeight != cropHint.height()
                    || cropHint.height() > GLHelper.getMaxTextureSize()
                    || cropHint.width() > GLHelper.getMaxTextureSize();