Merge "Force the wallpaper to reload when dimensions change" into klp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
6bd7603a56
@ -280,6 +280,7 @@ public class WallpaperManager {
|
|||||||
synchronized (this) {
|
synchronized (this) {
|
||||||
mWallpaper = null;
|
mWallpaper = null;
|
||||||
mDefaultWallpaper = null;
|
mDefaultWallpaper = null;
|
||||||
|
mHandler.removeMessages(MSG_CLEAR_WALLPAPER);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -326,6 +326,7 @@ public class ImageWallpaper extends WallpaperService {
|
|||||||
((mBackground == null) ? 0 : mBackground.getHeight()) + ", " +
|
((mBackground == null) ? 0 : mBackground.getHeight()) + ", " +
|
||||||
dw + ", " + dh);
|
dw + ", " + dh);
|
||||||
}
|
}
|
||||||
|
mWallpaperManager.forgetLoadedWallpaper();
|
||||||
updateWallpaperLocked();
|
updateWallpaperLocked();
|
||||||
if (mBackground == null) {
|
if (mBackground == null) {
|
||||||
if (DEBUG) {
|
if (DEBUG) {
|
||||||
|
Reference in New Issue
Block a user