android :: Notification :: cancel
# Cancel this notification and hide it if it is currently displayed
fun cancel
do
var id = self.id
if id != null then
sys.jni_env.push_local_frame(8)
var manager = app.native_context.notification_manager
manager.cancel(tag.to_java_string, id)
self.id = null
sys.jni_env.pop_local_frame
end
end
lib/android/notification/notification.nit:105,2--119,4