commit | 832bc4a89442d1a60a9c1901138347ac17f917e3 | [log] [tgz] |
---|---|---|
author | Arthur Hung <arthurhung@google.com> | Mon Jan 28 11:43:17 2019 +0800 |
committer | Arthur Hung <arthurhung@google.com> | Mon Jan 28 11:49:32 2019 +0800 |
tree | 3503d051035001a034f9dde1f1ddbb62b3e34a18 | |
parent | 6ad055d4c7c54713562fe50335c55aa37d48cf47 [diff] |
Fix SetInputWindow_InputWindowInfo takes too long Test case SetInputWindow_InputWindowInfo would wait inject event until timeout that would take too long (> 400ms) to complete. This patch would change the test to release one window input channel and detect if another focused window can recevied the key event after setInputWindow intead of waiting until timeout. Bug: 123488846 Test: atest inputflinger_tests Change-Id: I9cf0f199dc80bef70e0c2cd4af73b2221450a01d