title: Android notification FLAG_AUTO_CANCEL not working and not showing new Activity
body: <p>I've been searching for almost a day for this problem, I followed the example about Android Notification here: <a href="http://www.vogella.com/articles/AndroidNotifications/article.html" rel="nofollow">http://www.vogella.com/articles/AndroidNotifications/article.html</a>. It worked well and I can send the <code>Notification</code>. The problem is, when I click on the notification, it does NOT disappear even though I have set:</p>
  
  <p><code>setAutoCancel(true)</code> AND <code>notification.flags |= Notification.FLAG_AUTO_CANCEL</code></p>
  
  <p><strong>Update: Here is my code</strong></p>
  
  <pre><code>Intent intent = new Intent(MyNotification.this, NotificationReceiver.class);
  
  PendingIntent pIntent = PendingIntent.getActivity(
      MyNotification.this, 0, intent, 0);
  
  NotificationCompat.Builder builder = 
       new NotificationCompat.Builder(MyNotification.this)
      .setSmallIcon(R.drawable.ic_launcher)
      .setAutoCancel(true)
      .addAction(R.drawable.ic_launcher, "Call", pIntent)
      .addAction(R.drawable.ic_launcher, "More", pIntent)
      .addAction(R.drawable.ic_launcher, "And more", pIntent)
      .setContentTitle("New mail from " + "test@gmail.com")
      .setContentText("Subject");
  
  Notification noti = builder.build();
  noti.flags |= Notification.FLAG_AUTO_CANCEL;
  NotificationManager notificationManager = 
      (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
  notificationManager.notify(0, noti);
  </code></pre>
  
  <p>Any ideas where the problem come from? Thanks for your helps.</p>