Merge "Call syncInputWindows after calling transferTouchFocus" into qt-dev

This commit is contained in:
Chavi Weingarten
2019-07-01 18:20:53 +00:00
committed by Android (Google) Code Review

View File

@@ -176,6 +176,8 @@ class DragState {
mTransaction.transferTouchFocus(mTransferTouchFromToken, h.token); mTransaction.transferTouchFocus(mTransferTouchFromToken, h.token);
mTransferTouchFromToken = null; mTransferTouchFromToken = null;
// syncInputWindows here to ensure the input channel isn't removed before the transfer.
mTransaction.syncInputWindows();
mTransaction.apply(); mTransaction.apply();
} }