Add some lifecycle functionality to WindowlessWM
This adds other parts of the window lifecycle (eg. ViewRoot death, window removal, layout update). Some of the lifecycle controls are just utilities, but are needed so that they can be performed out-of-package. It also shows/hides the surface based on underlying view visibility. In actual WM, the surface is actually created/ destroyed based on visibility, but this breaks continuity in WWM because the WWM user should have full control over it. Also made this public so it can be subclassed. Bug: 133381284 Test: manual test in later CLs Change-Id: Ibd7792c3f52c216089d9b498e3770e100ff24642
Loading
Please register or sign in to comment