commit | e95003e4a15eea2d5f93950fc46f99ff2b9c973a | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Sun Jan 09 13:53:06 2011 -0800 |
committer | Romain Guy <romainguy@google.com> | Sun Jan 09 14:04:36 2011 -0800 |
tree | ad8605821c2efb5eb089f3e3a15deee6945f1808 | |
parent | 7e68efb0a098149e1e6f86663e978e9fd26e0ea1 [diff] |
Tighten up AsyncTask's semantics and behavior. Bug #3109366 Bug #3109382 The new behavior of AsyncTask is the following: - Unchanged if you don't call cancel() - If you call cancel(): - Either onCancelled() *OR* onPostExecute() is invoked - onCancelled() is invoked only after doInBackground() finishes Change-Id: If53faec5890d2fa7098aea76973186a0b1026b39