Hide an ongoing notification
<p>I have the following code to create an <code>ONGOING_EVENT</code>:</p>

<pre><code>Notification notification = new Notification(R.drawable.icon, "someText" , System.currentTimeMillis());
notification.flags |= Notification.FLAG_ONGOING_EVENT;
notification.flags |= Notification.FLAG_FOREGROUND_SERVICE;

PendingIntent contentIntent = PendingIntent.getActivity(this, 0, new Intent(this, Home.class), 0);
notification.setLatestEventInfo(this, "someTitle", "someText", contentIntent);

notificationManager.notify(SOME_ID, notification);
</code></pre>

<p>Now, I want to kill it later on:</p>

<pre><code>notificationManager.cancel(SOME_ID);
</code></pre>

<p>However, the notification remains. What could be the cause of this?</p>
