commit | f54d2ab0f37699ac44324cbae475be1c5289dc71 | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Fri Jun 09 13:23:53 2023 -0700 |
committer | Siarhei Vishniakou <svv@google.com> | Tue Jun 13 20:57:37 2023 +0000 |
tree | a8656efb62c624b7bad0a7defe16ba384b1bb2c9 | |
parent | 21b3d3f3d949f5080f213b45b435c31cabbbe73b [diff] |
Deflake InterceptKeyIfKeyUp The test checks that the keys with ACTION_UP are delivered immediately. Therefore, the injection of ACTION_DOWN key should be done before we set the intercept timeout. Bug: 282837934 Test: m inputflinger_tests && $ANDROID_HOST_OUT/nativetest64/inputflinger_tests/inputflinger_tests --gtest_filter="*InterceptKeyIfKeyUp*" --gtest_repeat=100000 --gtest_break_on_failure Change-Id: I93f34d578eacb93cfd8f9794a6f0af6e601d7956