diff options
author | Robert Carr <racarr@google.com> | 2018-02-26 17:46:00 -0800 |
---|---|---|
committer | Robert Carr <racarr@google.com> | 2018-02-28 11:44:14 -0800 |
commit | c6d5af556e9e8b682d24e457e6236fe5ee11e2a6 (patch) | |
tree | 37016d4b72fe94a4c272dbc7760d80f8f7a0de75 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 74a66a2c7ba0ee3472d4863c958df5d41bbc3267 (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions