Notif pipeline: call on UpdateFinished() callback after adding a child.

This used to be called in
NotificationViewHierarchyManager#updateNotificationViews, but in the new
pipeline world we no longer use that and instead rely on
RootNodeController now. Give the callback a heads up after
adding a child.

Bug: None
Test: Build
Change-Id: I4a55fdc59d405bc552f47d14d6ccafa0fb9e042f
This commit is contained in:
Ben Lin
2022-01-19 19:14:50 -08:00
parent 77cdce9d87
commit 4d23125271

View File

@@ -40,6 +40,7 @@ class RootNodeController(
override fun addChildAt(child: NodeController, index: Int) {
listContainer.addContainerViewAt(child.view, index)
listContainer.onNotificationViewUpdateFinished()
}
override fun moveChildTo(child: NodeController, index: Int) {