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

Commit 647625fb authored by Tony Mantler's avatar Tony Mantler Committed by Android (Google) Code Review
Browse files

Merge "AsyncTask terminating with exception calls onCancelled" into nyc-mr1-dev

parents 6006a88e 5eb91a43
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -304,6 +304,9 @@ public abstract class AsyncTask<Params, Progress, Result> {
                    //noinspection unchecked
                    result = doInBackground(mParams);
                    Binder.flushPendingCommands();
                } catch (Throwable tr) {
                    mCancelled.set(true);
                    throw tr;
                } finally {
                    postResult(result);
                }