Merge "Invalidate (re-section) the list when a notification is no longer heads up." into tm-qpr-dev
This commit is contained in:
@@ -503,6 +503,7 @@ class HeadsUpCoordinator @Inject constructor(
|
|||||||
private val mOnHeadsUpChangedListener = object : OnHeadsUpChangedListener {
|
private val mOnHeadsUpChangedListener = object : OnHeadsUpChangedListener {
|
||||||
override fun onHeadsUpStateChanged(entry: NotificationEntry, isHeadsUp: Boolean) {
|
override fun onHeadsUpStateChanged(entry: NotificationEntry, isHeadsUp: Boolean) {
|
||||||
if (!isHeadsUp) {
|
if (!isHeadsUp) {
|
||||||
|
mNotifPromoter.invalidateList()
|
||||||
mHeadsUpViewBinder.unbindHeadsUpView(entry)
|
mHeadsUpViewBinder.unbindHeadsUpView(entry)
|
||||||
endNotifLifetimeExtensionIfExtended(entry)
|
endNotifLifetimeExtensionIfExtended(entry)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user