title: Name the Thread of an AsyncTask
body: <p>Is it possible to give a name to an AsyncTask's background thread, as for normal Threads in Java:</p>
  
  <pre><code>Thread(Runnable target, String name) 
  </code></pre>
  
  <p>I have seen the code of AsyncTask and the default constructor is just give a name by default</p>
  
  <pre><code>private static final ThreadFactory sThreadFactory = new ThreadFactory() {
      private final AtomicInteger mCount = new AtomicInteger(1);
  
      public Thread newThread(Runnable r) {
          return new Thread(r, "AsyncTask #" + mCount.getAndIncrement());
      }
  };
  </code></pre>
  
  <p>I want to do that, as when I debug I want to know which Asynctask is accessing a method in a helper class.</p>