Where will this AsyncTask run?
<p>Say I have this code in the <code>AlertDialog.Builder(context)</code> of my application. The question is in which <code>Thread</code> will it run?</p>

<pre><code>final Thread myPrettyOperation = new Thread() {
    @Override
    public void run() {
        //Do some really long operation.
    }
};
class MyPrettyTask extends
        AsyncTask&lt;Void, Integer, Boolean&gt; {
    protected Boolean doInBackground(
            Void... voids) {
        myPrettyOperation.start();
        return true;
    }
    protected void onProgressUpdate(
            Integer... progress) {
    }
    protected void onPostExecute(Boolean result) {
    }
}
new MyPrettyTask().execute();
</code></pre>
