Skip to content

Commit

Permalink
Merge pull request nicolas-raoul#82 from flerda/v2.1-android1.6
Browse files Browse the repository at this point in the history
Do not use onCancelled with result.
  • Loading branch information
flerda committed Jul 28, 2013
2 parents 43d0f20 + 1a2a8a5 commit 8a30749
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/com/ichi2/async/BaseAsyncTask.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package com.ichi2.async;

import android.annotation.TargetApi;
import android.os.AsyncTask;

import com.ichi2.utils.MethodLogger;
Expand Down Expand Up @@ -82,17 +81,6 @@ protected void onProgressUpdate(Progress... values) {
}


@TargetApi(11)
@Override
protected void onCancelled(Result result) {
if (DEBUG) {
MethodLogger.log();
}
Threads.checkMainThread();
super.onCancelled(result);
}


@Override
protected void onCancelled() {
if (DEBUG) {
Expand Down

0 comments on commit 8a30749

Please sign in to comment.