I don't see any methods in the NotificationManager to check if a given notification already is active, should I be keeping my own logic for this or am I missing开发者_开发问答 something??
Ideally, you should be writing your app such that you do not care whether or not an existing Notification is on the screen.
That being said, between deleteIntent and contentIntent, you can track whether or not the Notification is on-screen yourself, if you so desire.
加载中,请稍侯......
精彩评论