title: Why is my notification getting cleared?
body: <p>I have tried <code>.setAutoCancel(false) and .setOngoing(true);</code> but why does my notification still get cleared when I swipe it? here is my code-</p>
  
  <pre><code>        Notification.Builder builder = new Notification.Builder(this)
              .setSmallIcon(R.drawable.download)
              .setContentTitle("Download[ROOT]")
              // .setContentText("This is a test notification")
              .setAutoCancel(false).setOngoing(true);
      Intent notificationIntent = new Intent(this, DownloaderRoot.class);
      PendingIntent contentIntent = PendingIntent.getActivity(this, 0,
              notificationIntent, PendingIntent.FLAG_UPDATE_CURRENT);
      builder.setContentIntent(contentIntent);
      // Add as notification
      NotificationManager manager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
      manager.notify(111, builder.build());
  </code></pre>
  
  <p>I have tried adding flags as well-</p>
  
  <pre><code>// Add as notification
          NotificationManager manager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
          Notification notif = builder.build();// add flag support
          notif.flags |= Notification.FLAG_ONGOING_EVENT;
          notif.flags |= Notification.FLAG_NO_CLEAR;
          manager.notify(111, builder.build());
  </code></pre>