diff options
| author | 2022-08-23 16:14:04 -0400 | |
|---|---|---|
| committer | 2022-08-29 22:32:36 +0000 | |
| commit | 6a70cf605dd6f2009e996e400b505ef8343bee9f (patch) | |
| tree | 59252fad47141764be1732427bc68950b80b5fd3 | |
| parent | b8ea5216b8fa6941ba29d4cbe150875035103131 (diff) | |
Remove NotifEntryMgr in NotifInteractionTracker
Bug: 200269355
Test: atest SystemUITests
Change-Id: I18bc75242592d8fee341bc8eae716d26ecfc8833
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/NotificationInteractionTracker.kt | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationInteractionTracker.kt b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationInteractionTracker.kt index 2ca1bebfcf9f..7b49ecdcd981 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationInteractionTracker.kt +++ b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationInteractionTracker.kt @@ -1,7 +1,6 @@ package com.android.systemui.statusbar import com.android.systemui.dagger.SysUISingleton -import com.android.systemui.statusbar.notification.NotificationEntryManager import com.android.systemui.statusbar.notification.collection.NotificationEntry import com.android.systemui.statusbar.notification.collection.notifcollection.NotifCollectionListener import javax.inject.Inject @@ -12,14 +11,12 @@ import javax.inject.Inject */ @SysUISingleton class NotificationInteractionTracker @Inject constructor( - private val clicker: NotificationClickNotifier, - private val entryManager: NotificationEntryManager + clicker: NotificationClickNotifier, ) : NotifCollectionListener, NotificationInteractionListener { private val interactions = mutableMapOf<String, Boolean>() init { clicker.addNotificationInteractionListener(this) - entryManager.addCollectionListener(this) } fun hasUserInteractedWith(key: String): Boolean { @@ -38,5 +35,3 @@ class NotificationInteractionTracker @Inject constructor( interactions[key] = true } } - -private const val TAG = "NotificationInteractionTracker" |