Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 217202c8 authored by Steve Elliott's avatar Steve Elliott
Browse files

Inline notif pipeline flag into ConvoNotifMgr

This change is a no-op; the flag is now enabled-by-default, so all
removed code paths here are effectively dead.

Bug: 200269355
Test: atest SystemUITests
Change-Id: I16163b42084825ff97c1f10cc93825e14a50b295
parent 6aa41ab4
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
@@ -31,7 +31,6 @@ import com.android.systemui.dagger.qualifiers.Main
import com.android.systemui.plugins.statusbar.StatusBarStateController
import com.android.systemui.statusbar.notification.collection.NotificationEntry
import com.android.systemui.statusbar.notification.collection.inflation.BindEventManager
import com.android.systemui.statusbar.notification.collection.legacy.NotificationGroupManagerLegacy
import com.android.systemui.statusbar.notification.collection.notifcollection.CommonNotifCollection
import com.android.systemui.statusbar.notification.collection.notifcollection.NotifCollectionListener
import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow
@@ -129,11 +128,9 @@ class AnimatedImageNotificationManager @Inject constructor(
 */
@SysUISingleton
class ConversationNotificationManager @Inject constructor(
    private val bindEventManager: BindEventManager,
    private val notificationGroupManager: NotificationGroupManagerLegacy,
    bindEventManager: BindEventManager,
    private val context: Context,
    private val notifCollection: CommonNotifCollection,
    private val featureFlags: NotifPipelineFlags,
    @Main private val mainHandler: Handler
) {
    // Need this state to be thread safe, since it's accessed from the ui thread
@@ -172,12 +169,10 @@ class ConversationNotificationManager @Inject constructor(
                                layout.setIsImportantConversation(important, false)
                            }
                        }
                if (changed && !featureFlags.isNewPipelineEnabled()) {
                    notificationGroupManager.updateIsolation(entry)
                }
            }
        }
    }

    fun onEntryViewBound(entry: NotificationEntry) {
        if (!entry.ranking.isConversation) {
            return