For some reason my onPostExecute() is not called after my AsyncTask finishes.
onPostExecute()
AsyncTask
My class decleration:
public class setWallpaper
After having the same problem and none of these answers helped me, I found out that my UI thread was blocked (I used a CountDownLatch.await()) and therefore the onPostExecute() method that is supposed to be called by the UI thread was never called.