From aa8dc2ee18c15a5c7fb897d2f41116950fd30fe6 Mon Sep 17 00:00:00 2001 From: Mita Yun Date: Mon, 10 Dec 2012 18:32:03 -0800 Subject: Removed mCallbackLooper from WallpaperService Change-Id: Icb060a9225dbe7e848bbe80e6a9ab28fcfb59969 --- core/java/android/service/wallpaper/WallpaperService.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'core/java/android') diff --git a/core/java/android/service/wallpaper/WallpaperService.java b/core/java/android/service/wallpaper/WallpaperService.java index 477356e..d1b23e4 100644 --- a/core/java/android/service/wallpaper/WallpaperService.java +++ b/core/java/android/service/wallpaper/WallpaperService.java @@ -961,13 +961,7 @@ public abstract class WallpaperService extends Service { IWallpaperEngineWrapper(WallpaperService context, IWallpaperConnection conn, IBinder windowToken, int windowType, boolean isPreview, int reqWidth, int reqHeight) { - if (DEBUG && mCallbackLooper != null) { - mCallbackLooper.setMessageLogging(new LogPrinter(Log.VERBOSE, TAG)); - } - mCaller = new HandlerCaller(context, - mCallbackLooper != null - ? mCallbackLooper : context.getMainLooper(), - this, true /*asyncHandler*/); + mCaller = new HandlerCaller(context, context.getMainLooper(), this, true); mConnection = conn; mWindowToken = windowToken; mWindowType = windowType; -- cgit v1.1