Why onNewIntent(Intent intent) called twice?
<p>I start new activity with two params:</p>

<pre><code>Intent intent = new Intent(WebTestActivity.this, MainActivity.class);
intent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP
        | Intent.FLAG_ACTIVITY_CLEAR_TOP);                  
Uri uri =  Uri.parse(url);
intent.setData(uri);
startActivity(intent);
</code></pre>

<p>And catch uri in onNewIntent method:</p>

<pre><code>@Override
    public void onNewIntent(Intent intent) {  //calls twice
        super.onNewIntent(intent);      
        Uri uri = intent.getData();
        new AsynkTask().execute(uri);
        }

    } 
</code></pre>

<p>But onNewIntent method called twice and it not good for my application.</p>
