title: Android, AsyncTask, onProgressUpdate and onPostExecute not being called
body: <p>After <code>doInBackground</code> finishes what it does, <code>onPostExecute</code> not get called. and if I try to publish a progress, <code>onProgressUpdate</code> not get called too.</p>
  
  <p>I recreated an asyncTask that does nothing in the background but logging a text and yet both methods not get called.</p>
  
  <p>Here is my code</p>
  
  <pre><code>public class MyAsyncTask extends AsyncTask&lt;Object, Integer, Void&gt; {
  
  @Override
  protected Void doInBackground(Object... params) {
      Log.d("MyAsyncTask","doInBackground");
      publishProgress(1);
      return null;
  }
  
  @Override
  protected void onPostExecute(Void result) {
      Log.d("MyAsyncTask","onPostExecute");
      super.onPostExecute(result);
  }
  
  @Override
  protected void onProgressUpdate(Integer... values) {
      Log.d("MyAsyncTask","onProgressUpdate");
      super.onProgressUpdate(values);
  }}
  </code></pre>
  
  <p>and here is how I call it</p>
  
  <pre><code>new MyAsyncTask().execute();
  </code></pre>