Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa8dc2ee authored by Mita Yun's avatar Mita Yun
Browse files

Removed mCallbackLooper from WallpaperService

Change-Id: Icb060a9225dbe7e848bbe80e6a9ab28fcfb59969
parent 4d56777e
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -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;