title: Launching launcher activity from pending intent in notifications
body: <p>If my launcher activity A is now running.</p>
  
  <p>and some activities are on top of activity A.</p>
  
  <p>for example here's my backstack A B C</p>
  
  <p>I need when pressing on notification to launch A, to clear A B C and then open A, or close B and C and resume A through onNewIntent </p>
  
  <p>I tried adding some flags but nothing helped!</p>
  
  <pre><code> private void push(NotificationModel model, Intent intent) {
  
      NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
  
      //here I'm trying to add flags to my intent
      intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
  </code></pre>