First bit of wallpaper work.
This is mostly refactoring, adding a new WallpaperManager class that takes care of the old wallpaper APIs on Context, so we don't need to pollute Context with various new wallpaper APIs as they are needed. Also adds the first little definition of a wallpaper service, which is not yet used or useful.
This commit is contained in:
@@ -301,7 +301,7 @@ class ServerThread extends Thread {
|
||||
|
||||
try {
|
||||
Log.i(TAG, "Starting Wallpaper Service");
|
||||
ServiceManager.addService(Context.WALLPAPER_SERVICE, new WallpaperService(context));
|
||||
ServiceManager.addService(Context.WALLPAPER_SERVICE, new WallpaperManagerService(context));
|
||||
} catch (Throwable e) {
|
||||
Log.e(TAG, "Failure starting Wallpaper Service", e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user