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

Commit 5e7f2d0b authored by Romain Guy's avatar Romain Guy
Browse files

Revert "Fix the build"

This reverts commit 4db2504a.
parent 696ba727
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -282,7 +282,6 @@ public abstract class AsyncTask<Params, Progress, Result> {
                mTaskInvoked.set(true);

                Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND);
                //noinspection unchecked
                return postResult(doInBackground(mParams));
            }
        };
@@ -317,8 +316,12 @@ public abstract class AsyncTask<Params, Progress, Result> {
    }

    private Result postResult(Result result) {
<<<<<<< HEAD
        Message message = sHandler.obtainMessage(MESSAGE_POST_RESULT,
=======
        @SuppressWarnings({"unchecked"})
        Message message = mHandler.obtainMessage(MESSAGE_POST_RESULT,
>>>>>>> 6c0d0b8... Check whether an AsyncTask is created/executed on a looper thread.
                new AsyncTaskResult<Result>(this, result));
        message.sendToTarget();
        return result;