summaryrefslogtreecommitdiff
path: root/startop/scripts/lib/cmd_utils.py
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2019-06-28 15:04:32 -0700
committerChavi Weingarten <chaviw@google.com>2019-06-28 23:26:25 +0000
commitdc5ca62c0d6dffd88d2f8de0aa8f9d27d2de31a3 (patch)
treede94b4fcba079263bac0930401934202a9a05150 /startop/scripts/lib/cmd_utils.py
parentf4535c8d5118edac968ac0bd3c25d1c71aebad67 (diff)
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
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions