What happens if you clear the flag before trying the cancel?

On Sep 22, 2:52 am, NRV <[email protected]> wrote:
> Hi,
>
> I create a notification for a background service :
>
> [...]
> notification = new Notification(icon, tickerText, when);
> notification.flags = Notification.DEFAULT_ALL |
> Notification.FLAG_NO_CLEAR | Notification.FLAG_ONGOING_EVENT;
> [...]
> notification.setLatestEventInfo(getApplicationContext(), contentTitle,
> contentText, contentIntent);
> mNotificationManager.notify(1, notification);
>
> then, when I stop the service, I try to cancel it, but I can't find
> any way to have it disapear. Any clue ?
>
> NRV

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to