commit | 50d934360d51392ac2aa6f11de4d6e1446cf78c9 | [log] [tgz] |
---|---|---|
author | Makoto Onuki <omakoto@google.com> | Tue Jun 28 19:31:23 2011 -0700 |
committer | Makoto Onuki <omakoto@google.com> | Wed Jun 29 10:22:38 2011 -0700 |
tree | 1f8468113931d2ee9ad5fedd58ef0f3359e5b954 | |
parent | 4a893e60b468e0b67db522c047fa7fab057cfd6f [diff] |
Fix the "onPostExecute executed even when cancelled" issue Renamed onPostExecute to onSuccess and made sure it won't called if a task is cancelled in time. Also removed isCancelled(). To implement it right we should make sure that onPostExecute() isn't finished when setting mCancelled, but it's a bit of a pain to implement right, and we don't really have to use it. Change-Id: I3a0baf504506ffc4952a5553f7098a8415842fa3