title: Intent not picked up by singleTop Activity
body: <p>I have an Activity that is defined to be singleTop so that only the one instance will exist.</p>
  
  <pre><code>   &lt;activity
          android:name=".MyMainActivity"
          android:label="@string/app_name" 
          android:configChanges="keyboard|keyboardHidden|orientation|screenSize" 
          android:launchMode="singleTop" android:multiprocess="true"&gt;
  </code></pre>
  
  <p>I set up a Notification Intent with some data, and include it in a PendingIntent, and send it to the Notification Manager. </p>
  
  <pre><code>Intent notificationIntent = new Intent(context, MyMainActivity.class); 
  notificationIntent.setAction(MyMainActivity.CustomInternalMessageAction);
  notificationIntent.putExtra(MyMainActivity.ReceiveTestMessage, rawMessageText);
  
  ...
  PendingIntent contentIntent = PendingIntent.getActivity(context, 0, notificationIntent, 0);
  mNotificationManager.notify(number, notification);  
  </code></pre>
  
  <p>If the actiivty is not running, the intent starts the activity via onCreate() as expected.</p>
  
  <p>If The activity is running, but in the stopped state / not in foreground (like when clicking the home button), and the notification is clicked, my activity's onNewIntent() is called as expected.</p>
  
  <p>However, if the Activity is already called when it's in the foreground, then onNewIntent() doesn't get called. </p>
  
  <p>How can I set up this notificaiton so that my singleTop Activity gets sent the intent, when it's in the pause/stop state (and also still functions in the other cases I mentioned). I'm thinking there's a flag to set on my notificationIntent object, but the functions of the flags aren't really clear for the case of singleTop activities.</p>