summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorArthur Hung <arthurhung@google.com>2020-03-26 17:38:57 +0800
committerArthur Hung <arthurhung@google.com>2020-03-31 15:47:56 +0000
commitc7a46da46cc7d7e639e0d7487e4af4d48cdb8dbc (patch)
treee97ca3404db2f05ee6f290bf21ee3a5a8be3ff27 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent8874a961f724cf84121966e618aefd142a13a086 (diff)
Prevent waiting when inject event without animation
Synchronously inject input event would wait for animations complete, but if no surface animation is on going and 'scheduleAnimation' is called in order to apply the pending transaction. It would wait until timeout(=5s) because no 'notify' would be called from framecallback. That would cause timeout problem when emulate swipe gesture via inject many events. This would provide a flag in WindowAnimator to ensure the pending transaction could be applied and exit waiting if there is no other animation. Bug: 150250453 Bug: 152478735 Bug: 152462354 Test: atest libinput_tests inputflinger_tests Test: atest --rerun-until-failure 100 WindowFocusTests#testMovingDisplayToTopByKeyEvent Test: atest MemoryTests#testActivityRecreation Test: Tests have inject events. Change-Id: If1db5c4d923ddbcfcd6eb3db38a41fee70913568
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions