I'm writing a custom upload notification, very similar to that from the Picasa Photo Uploader http://code.google.com/p/picasaphotouploader/source/browse/trunk/src/com/android/picasaphotouploader/UploadNotification.java
At creation, I set the FLAG_ONGOING_EVENT
and it works. After the upload is done, i have these two lines:
flags =~ Notification.FLAG_ONGOING_EVENT;
flags += Notification.FLAG_AUTO_CANCEL;
However, my notification is not cancelable, and flags
has a value of -3.
Do you have any idea why I can't change the flags anymore?