title: Swipe dismissing service notification
body: <p>Thought that wouldn't be a problem at all, but still.
  My Service notification doesn't want to swipe-dismiss no matter what I do.</p>
  
  <p>I have a progress notification, that is started in the service using startForeground(id, Notification).
  Here is how i build it:</p>
  
  <pre><code>public Notification createErrorNotification(String message) {
      NotificationCompat.Builder builder = new NotificationCompat.Builder(getApplicationContext());
  
      Intent showAppIntent = new Intent(getApplicationContext(), MainActivity.class);
      showAppIntent.setAction(Intent.ACTION_MAIN);
      showAppIntent.addCategory(Intent.CATEGORY_LAUNCHER);
      PendingIntent pendingShowAppIntent = PendingIntent.getActivity(getApplicationContext(), 10,
              showAppIntent, PendingIntent.FLAG_CANCEL_CURRENT);
  
  
      builder.setContentTitle(getString(R.string.label_download_error))
              .setWhen(0)
              .setContentText(message)
              .setContentIntent(pendingShowAppIntent)
              .setAutoCancel(true)
              .setOngoing(false)
              .setSmallIcon(R.drawable.ic_launcher);
  
      return builder.build();
  }
  </code></pre>
  
  <p>At some point if error occurs, I replace my progress notification with the described Error notification, disabling 'ongoing' and other stuff.
  I also stop service completely:</p>
  
  <pre><code>private void stopService() {
      stopSelf();
      taskThread.stopLooper();
      downloadHandler.stopExecution();
      downloadHandler = null;
      taskThread = null;
  }
  </code></pre>
  
  <p>And call</p>
  
  <pre><code>stopForeground(false);
  </code></pre>
  
  <p>false - because I want notification to be kept on screen and dismissed by user.
  But swipe-dismissing simply doesn't work.</p>
  
  <p>If I call stopForeground(true) - notification is correctly removed.</p>
  
  <p>Anyone has any ideas what am I doing wrong here?</p>