Loading packages/SystemUI/src/com/android/systemui/ImageWallpaper.java +3 −1 Original line number Diff line number Diff line Loading @@ -274,7 +274,9 @@ public class ImageWallpaper extends WallpaperService { // Sometimes a wallpaper is not large enough to cover the screen in one dimension. // Call updateSurfaceSize -- it will only actually do the update if the dimensions // should change if (newRotation != mLastRotation) { if (newRotation != mLastRotation || mDisplayWidthAtLastSurfaceSizeUpdate != displayInfo.logicalWidth || mDisplayHeightAtLastSurfaceSizeUpdate != displayInfo.logicalHeight) { // Update surface size (if necessary) if (!updateSurfaceSize(getSurfaceHolder(), displayInfo, true /* forDraw */)) { return; // had to reload wallpaper, will retry later Loading Loading
packages/SystemUI/src/com/android/systemui/ImageWallpaper.java +3 −1 Original line number Diff line number Diff line Loading @@ -274,7 +274,9 @@ public class ImageWallpaper extends WallpaperService { // Sometimes a wallpaper is not large enough to cover the screen in one dimension. // Call updateSurfaceSize -- it will only actually do the update if the dimensions // should change if (newRotation != mLastRotation) { if (newRotation != mLastRotation || mDisplayWidthAtLastSurfaceSizeUpdate != displayInfo.logicalWidth || mDisplayHeightAtLastSurfaceSizeUpdate != displayInfo.logicalHeight) { // Update surface size (if necessary) if (!updateSurfaceSize(getSurfaceHolder(), displayInfo, true /* forDraw */)) { return; // had to reload wallpaper, will retry later Loading