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
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user