Removed mCallbackLooper from WallpaperService
Change-Id: Icb060a9225dbe7e848bbe80e6a9ab28fcfb59969
This commit is contained in:
@ -961,13 +961,7 @@ public abstract class WallpaperService extends Service {
|
|||||||
IWallpaperEngineWrapper(WallpaperService context,
|
IWallpaperEngineWrapper(WallpaperService context,
|
||||||
IWallpaperConnection conn, IBinder windowToken,
|
IWallpaperConnection conn, IBinder windowToken,
|
||||||
int windowType, boolean isPreview, int reqWidth, int reqHeight) {
|
int windowType, boolean isPreview, int reqWidth, int reqHeight) {
|
||||||
if (DEBUG && mCallbackLooper != null) {
|
mCaller = new HandlerCaller(context, context.getMainLooper(), this, true);
|
||||||
mCallbackLooper.setMessageLogging(new LogPrinter(Log.VERBOSE, TAG));
|
|
||||||
}
|
|
||||||
mCaller = new HandlerCaller(context,
|
|
||||||
mCallbackLooper != null
|
|
||||||
? mCallbackLooper : context.getMainLooper(),
|
|
||||||
this, true /*asyncHandler*/);
|
|
||||||
mConnection = conn;
|
mConnection = conn;
|
||||||
mWindowToken = windowToken;
|
mWindowToken = windowToken;
|
||||||
mWindowType = windowType;
|
mWindowType = windowType;
|
||||||
|
Reference in New Issue
Block a user