After the last update to Android 4.3 my OnGoing Notification does not show 
different icons as function of iconLevel. My code (*working with all 
previous Android versions*) is the following:

Notification oNotification = new Notification();
oNotification.icon = R.drawable.levels;
oNotification.iconLevel = currentLevel;
oNotification.when = System.currentTimeMillis();
oNotification.flags |= Notification.FLAG_ONGOING_EVENT;
oNotification.flags |= Notification.FLAG_ONLY_ALERT_ONCE;

and currentLevel is a particular value depending by the actual status of 
the app. I tested it on the emulator and on a real Nexus 4 with Android 
4.3, same behavior, the icon is always the default (iconLevel = 0). 

Maybe I miss something...

Any hint or suggestion is welcome!


-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to