title: Android notification doesn't disappear after clicking the notification
body: <p>If got some issues with a notification I want to show in the notification bar. Although I set the notification flag to <code>Notification.DEFAULT_LIGHTS &amp; Notification.FLAG_AUTO_CANCEL</code> the notification doesn't disappear after clicking it. Any ideas what I'm doing wrong?</p>
  <pre class="lang-java prettyprint-override"><code>NotificationManager mNotificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
  
  int icon = R.drawable.icon;
  CharSequence tickerText = &quot;Ticker Text&quot;;
  long time = System.currentTimeMillis();
  
  Notification notification = new Notification(icon, tickerText, time);
  notification.flags = Notification.DEFAULT_LIGHTS &amp; Notification.FLAG_AUTO_CANCEL; 
  
  Context context = getApplicationContext();
  CharSequence contentTitle = &quot;Title&quot;;
  CharSequence contentText = &quot;Text&quot;;
  Intent notificationIntent = new Intent(this, SilentFlipConfiguration.class);
  PendingIntent contentIntent = PendingIntent.getActivity(this, 0, notificationIntent, 0);
  notification.setLatestEventInfo(context, contentTitle, contentText, contentIntent);
  mNotificationManager.notify(1,notification);
  </code></pre>