am a934ad11: Merge "Speed up user-switching wallpaper changes" into jb-mr2-dev
* commit 'a934ad112c9da1c7a342a990fcb06bae2ea7485e': Speed up user-switching wallpaper changes
This commit is contained in:
@@ -388,7 +388,6 @@ public class ImageWallpaper extends WallpaperService {
|
|||||||
private void updateWallpaperLocked() {
|
private void updateWallpaperLocked() {
|
||||||
Throwable exception = null;
|
Throwable exception = null;
|
||||||
try {
|
try {
|
||||||
mWallpaperManager.forgetLoadedWallpaper(); // force reload
|
|
||||||
mBackground = null;
|
mBackground = null;
|
||||||
mBackground = mWallpaperManager.getBitmap();
|
mBackground = mWallpaperManager.getBitmap();
|
||||||
} catch (RuntimeException e) {
|
} catch (RuntimeException e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user