ankidroid/Anki-Android — pull request #25 by flerda (2013-04-13 20:16:11+00:00)
Title: Remove flag for onPreExecute callback.

Since onPreExecute is always guaranteed to be executed before
onBackground is (and it is done on a different thread), simply call the
listener at the right time.

If at any point onPreExecuted is not called, it means we have done
something else wrong.