Loading services/core/java/com/android/server/wallpaper/WallpaperDisplayHelper.java +2 −1 Original line number Diff line number Diff line Loading @@ -96,7 +96,8 @@ class WallpaperDisplayHelper { } if (populateOrientationPairs) { int orientation = WallpaperManager.getOrientation(displaySize); float newSurface = displaySize.x * displaySize.y * metric.getDensity(); float newSurface = displaySize.x * displaySize.y / (metric.getDensity() * metric.getDensity()); if (surface <= 0) { surface = newSurface; firstOrientation = orientation; Loading Loading
services/core/java/com/android/server/wallpaper/WallpaperDisplayHelper.java +2 −1 Original line number Diff line number Diff line Loading @@ -96,7 +96,8 @@ class WallpaperDisplayHelper { } if (populateOrientationPairs) { int orientation = WallpaperManager.getOrientation(displaySize); float newSurface = displaySize.x * displaySize.y * metric.getDensity(); float newSurface = displaySize.x * displaySize.y / (metric.getDensity() * metric.getDensity()); if (surface <= 0) { surface = newSurface; firstOrientation = orientation; Loading