Possible Duplicate:
onPostExecute on cancelled AsyncTask
Why does cancelling a AsyncTask
still calls onPostExecute
if the docs say it should call onCancelled
instead.
Is this a long persistent bug?
In my case it I cancel(true)
the asynctask, it finishes the doInBackground
and then invokes onPostExecutes.
Finally it throws a
java.lang.InterruptedException
If this is intented behavour, can I get this Exception
anyhow as an object?