Make a copy for draw transaction of local window
Because local window means that ViewRootImpl lives in the same
process. The transaction sent from ViewRootImpl#reportDrawFinished
is the same instance as WindowState#finishDrawing receives.
Then if the transaction is cleared before applying, the blast sync
will be broken and block render thread.
Bug: 234585256
Test: adb shell setprop persist.wm.debug.shell_transit 1; reboot
Enable "Pointer location" in developer options.
Rotate display many times and no any timeout.
Change-Id: I111c44b9100771b38fe60f07735e93778458c502
1 file changed