Remove litho observer

Summary:
There seem to be a number of issues with registering to all changes properly for litho observer.

Removing it and allowing the decor view to do a full traversal fixes a number of problems. The performance with hardware rendering seems to be fine. This should be  stopgap untill we tackle time travel properly

Reviewed By: lblasa

Differential Revision: D41304501

fbshipit-source-id: 5b7cdbd0dac04ba0dbf8dd5e449c99f0db4d0863
This commit is contained in:
Luke De Feo
2022-11-16 10:38:23 -08:00
committed by Facebook GitHub Bot
parent 9aee09bc70
commit 53c15b2e59

View File

@@ -26,7 +26,5 @@ object UIDebuggerLithoSupport {
register.register(MatrixDrawable::class.java, MatrixDrawableDescriptor)
}
fun addObserver(observerFactory: TreeObserverFactory) {
observerFactory.register(LithoViewTreeObserverBuilder)
}
fun addObserver(observerFactory: TreeObserverFactory) {}
}