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

Commit 5feab0ff authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Reset bundle header when re-added to NSSL" into main

parents 762ac8d0 3091c277
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,6 @@ import com.android.systemui.dagger.SysUISingleton
import com.android.systemui.initOnBackPressedDispatcherOwner
import com.android.systemui.lifecycle.rememberViewModel
import com.android.systemui.lifecycle.repeatWhenAttached
import com.android.systemui.lifecycle.viewModel
import com.android.systemui.notifications.ui.composable.row.BundleHeader
import com.android.systemui.settings.UserTracker
import com.android.systemui.shade.ShadeDisplayAware
@@ -93,6 +92,7 @@ constructor(
            val controller = component.expandableNotificationRowController
            controller.init(bundleEntry)
            keyToControllerMap[bundleEntry.key] = controller
            row.repeatWhenAttached { repeatOnLifecycle(Lifecycle.State.CREATED) { row.reset() } }
            initBundleHeaderView(bundleEntry, row)
        }
        debugBundleLog(TAG) { "calling inflate: ${bundleEntry.key}" }