title: intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); not launching Activity in new Task
body: <p>I am trying to launch a new task on Click of a button. but not working as per flag given. it working like standard launch mode.</p>
  
  <pre><code>Intent intent = new Intent(MainActivity.this,SecondActivity.class);
  intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
  startActivity(intent);
  </code></pre>
  
  <p>What are flag for launch mode <code>SingleTask</code> and <code>SingleInstance</code>?</p>