Skip to content
Commit dc5ca62c authored by chaviw's avatar chaviw Committed by Chavi Weingarten
Browse files

Call syncInputWindows after calling transferTouchFocus

Since transferTouchFocus is invoked through SurfaceFlinger in a
transaction, it may not send the request to InputDispatcher until after
the input channel is removed. This was happening when the window was
getting removed right after the drag was started, causing the
transferTouchFocus to fail.

By calling syncInputWindows, it ensures that the transferTouchFocus is
sent to InputDispatcher before the channel could be destroyed.

Fixes: 133472746
Test: Steps in bug
Change-Id: I01d5e18a3fdddd8a1cc571e5df8101eec368838f
parent f4535c8d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment