I am not sure I understand the relation between the two. As I understand ViewRootImpl holds mView which is the main view per window, and DecorView is also the main view per window?
It turns out that the mView inside ViewRootImpl IS DecorView so this answers my own question
ViewRootImpl is the top of the view hierarchy, it implements the needed protocol between View and the WindowManager.
DecorView is the true root of the Window's view hierarchy. It contains both the "decor" (i.e. the window's title, and also contains the content view.

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With