I'm building an android app which listens to notifications and has to figure out which app (Facebook, whatsapp, mail, etc.) the notification belongs to.
I know how to listen to the notification using NotificationListenerService. But how do I figure out which app sent this notification?