Merge commit '0a27865a015d9e0401b6b3bff9eedd06d59043b3' into eclair-mr2-plus-aosp * commit '0a27865a015d9e0401b6b3bff9eedd06d59043b3': Unbreak setting photos as wallpaper
This commit is contained in:
@@ -126,6 +126,11 @@ class WallpaperManagerService extends IWallpaperManager.Stub {
|
|||||||
int mWidth = -1;
|
int mWidth = -1;
|
||||||
int mHeight = -1;
|
int mHeight = -1;
|
||||||
String mName = "";
|
String mName = "";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The component name of the currently set live wallpaper. This will be null if the
|
||||||
|
* wallpaper uses the built in ImageWallpaper component to display a bitmap.
|
||||||
|
*/
|
||||||
ComponentName mWallpaperComponent;
|
ComponentName mWallpaperComponent;
|
||||||
WallpaperConnection mWallpaperConnection;
|
WallpaperConnection mWallpaperConnection;
|
||||||
long mLastDiedTime;
|
long mLastDiedTime;
|
||||||
@@ -366,6 +371,7 @@ class WallpaperManagerService extends IWallpaperManager.Stub {
|
|||||||
// See if there is a default wallpaper component specified
|
// See if there is a default wallpaper component specified
|
||||||
// Only look for this if the wallpaper is not being set to a bitmap
|
// Only look for this if the wallpaper is not being set to a bitmap
|
||||||
realComponentName = ComponentName.unflattenFromString(defaultComponent);
|
realComponentName = ComponentName.unflattenFromString(defaultComponent);
|
||||||
|
componentName = realComponentName;
|
||||||
}
|
}
|
||||||
if (realComponentName == null) {
|
if (realComponentName == null) {
|
||||||
// Fall back to static image wallpaper
|
// Fall back to static image wallpaper
|
||||||
|
|||||||
Reference in New Issue
Block a user