title: Remove notification ongoing
body: <p>I'm building a music player for android. When running in background I want to disable swipe on notification as long as music is playing but when user pauses music swipe should be enabled. </p>
  
  <p>I tried updating <code>setOnGoing(false)</code> from <code>setOnGoing(true)</code> on Notification builder when music is paused but it doesn't seem to work. It's still not enabling swipe on notification.</p>
  
  <pre><code>Notification notification = mBuilder
                  .setSmallIcon(R.drawable.play_icon)
                  .setOngoing(true)
                  .setAutoCancel(false)
                  .setPriority(PRIORITY_MAX)
                  .build();
  </code></pre>
  
  <p>on pausing play this is executed:</p>
  
  <pre><code>Notification notif = mBuilder.setOngoing(false).build();
          notif.bigContentView = mRemoteViews;
          notif.contentView = mRemoteViewsCollapsed;
  </code></pre>
  
  <p>mBuilder is class level Notification.Builder</p>
  
  <p>This updates the contentView properly but does not change its Ongoing state</p>