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

Commit c8adfe87 authored by Jeff DeCew's avatar Jeff DeCew Committed by Android (Google) Code Review
Browse files

Merge "Invalidate (re-section) the list when a notification is no longer heads up." into tm-qpr-dev

parents 49be81a9 82aa975c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -503,6 +503,7 @@ class HeadsUpCoordinator @Inject constructor(
    private val mOnHeadsUpChangedListener = object : OnHeadsUpChangedListener {
        override fun onHeadsUpStateChanged(entry: NotificationEntry, isHeadsUp: Boolean) {
            if (!isHeadsUp) {
                mNotifPromoter.invalidateList()
                mHeadsUpViewBinder.unbindHeadsUpView(entry)
                endNotifLifetimeExtensionIfExtended(entry)
            }