Loading core/java/android/service/wallpaper/WallpaperService.java +2 −1 Original line number Diff line number Diff line Loading @@ -1025,7 +1025,8 @@ public abstract class WallpaperService extends Service { mWallpaperDimAmount = (!mShouldDimByDefault) ? mCustomDimAmount : Math.max(mDefaultDimAmount, mCustomDimAmount); if (!ENABLE_WALLPAPER_DIMMING || mBbqSurfaceControl == null if (!ENABLE_WALLPAPER_DIMMING || mBbqSurfaceControl == null || !mBbqSurfaceControl.isValid() || mWallpaperDimAmount == mPreviousWallpaperDimAmount) { return; } Loading Loading
core/java/android/service/wallpaper/WallpaperService.java +2 −1 Original line number Diff line number Diff line Loading @@ -1025,7 +1025,8 @@ public abstract class WallpaperService extends Service { mWallpaperDimAmount = (!mShouldDimByDefault) ? mCustomDimAmount : Math.max(mDefaultDimAmount, mCustomDimAmount); if (!ENABLE_WALLPAPER_DIMMING || mBbqSurfaceControl == null if (!ENABLE_WALLPAPER_DIMMING || mBbqSurfaceControl == null || !mBbqSurfaceControl.isValid() || mWallpaperDimAmount == mPreviousWallpaperDimAmount) { return; } Loading