Loading
Handle surfaceInset changes with deferred transactions.
First we have the client pass up the next frameNumber from relayoutWindow and then we simply deferTransactions at the WindowState level until this frame number is reached. This was always a little terrifying because deferring transaction effecftively meant we gave up control of the surface until the frame number was reached. However now we can still control the surface from the stack and other SurfaceControl nodes and so the window can still be moved around and animated even if the client is unresponsive. Bug: 70666541 Test: Manual. go/wm-smoke Change-Id: I2fecbeaa30fc0eb9cc8f08e1ea734dcc65da0aa0