NotificationListenerHolder
object NotificationListenerHolder
Holds the ComponentName of the host app's NotificationListenerService. The host app must call NotificationListenerHolder.set(componentName) with its own service class before using tools that need notification listener access.
Example: NotificationListenerHolder.set(ComponentName(context, MyListenerService::class.java))