Merge "optimize wallpaper load,avoid show black wallpaper."

This commit is contained in:
Michael Wright
2015-05-06 15:35:46 +00:00
committed by Gerrit Code Review

View File

@@ -236,7 +236,9 @@ public class ImageWallpaper extends WallpaperService {
Log.d(TAG, "Visibility changed to visible=" + visible);
}
mVisible = visible;
drawFrame();
if (visible) {
drawFrame();
}
}
}