--- a/mt8788/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
+++ b/mt8788/frameworks/base/services/core/java/com/android/server/wallpaper/WallpaperManagerService.java
@@ -680,6 +680,7 @@ public class WallpaperManagerService extends IWallpaperManager.Stub
// scale if the crop height winds up not matching the recommended metrics
needScale = (wallpaper.height != cropHint.height());
+ if(cropHint.height() >= 1200) needScale = false;
if (DEBUG) {
Slog.v(TAG, "crop: w=" + cropHint.width() + " h=" + cropHint.height());
Android P 默认壁纸被拉伸
最新推荐文章于 2024-12-08 21:55:16 发布