title: handler.postDelayed is not working in onHandleIntent method of IntentService
body: <pre><code>final Handler handler = new Handler();
  LOG.d("delay");
  handler.postDelayed(new Runnable() {
      @Override public void run() {
          LOG.d("notify!");
          //calling some methods here
      }
  }, 2000);
  </code></pre>
  
  <p>The "delay" does shows in the log, but not others at all. And the method called in the <code>run()</code> is not called at all also. Can anyone help explain why this happens, am I doing anything wrong?</p>
  
  <p>The class that has this code extends IntentService, will this be a problem?</p>
  
  <p>============================</p>
  
  <p>UPDATE:
  I put this code in the class that extends <code>IntentService</code>. The only place I found it worked was in the constructor. But I need to put it in the <code>onHandleIntent</code> method. So I checked the documentation for <code>onHandleIntent</code> and it said:</p>
  
  <blockquote>
    <p>This method is invoked on the worker thread with a request to process.Only one Intent is processed at a time, but the processing happens on a worker thread that runs independently from other application logic. So, if this code takes a long time, it will hold up other requests to the same IntentService, but it will not hold up anything else. When all requests have been handled, the IntentService stops itself, so you should not call stopSelf.</p>
  </blockquote>
  
  <p>So based on the result I get, I feel like I cannot use <code>postDelayed</code> in "worker thread". But can anyone explain this a bit more, like why this is not working in worker thread? Thanks in advance.</p>