Listen to the notification posted events from NotificationListenerService instead
UsageStats NOTIFICATION_INTERRUPTION events are only created if a conversation has its own conversation-specific notification channel created. Switch to NotificationListenerService so that we could get the notification posted events from all conversations. Bug: 146522621 Test: atest com.android.server.people.data.DataManagerTest Test: atest com.android.server.people.data.UsageStatsQueryHelperTest Change-Id: Iaa120567891144a952707deb5cea1321aa28341c
Loading
Please register or sign in to comment