commit | e68c30e15fce66e270f2bec5055fe8561528bbb5 | [log] [tgz] |
---|---|---|
author | chenxinyu <[email protected]> | Tue Nov 16 20:42:13 2021 +0800 |
committer | Siarhei Vishniakou <[email protected]> | Tue Nov 30 14:43:09 2021 -0800 |
tree | 30c4124fef86cec9dc6be1cf3c4a064ca4955086 | |
parent | 757be10fa0bfd49ed98331374d9f83742427db4e [diff] |
Delete try-finally beacuse calling finishInputEvent twice will cause 'Native Crash' If there is an exception, finishInputEvent method will be called, then NativeInputEventReceiver also send finish signal,will cause a native crash,'Abort message: 'Could not find consume time for seq=xxxx' [1] https://cs.android.com/android/platform/superproject/+/master:frameworks/base/core/jni/android_view_InputEventReceiver.cpp;l=441?q=InputEventRe&ss=android%2Fplatform%2Fsuperproject:frameworks%2F [2] https://cs.android.com/android/platform/superproject/+/master:frameworks/native/libs/input/InputTransport.cpp;l=1259?q=InputTRAN&ss=android%2Fplatform%2Fsuperproject:frameworks%2F Bug: 169866723 Test: atest InputEventSenderAndReceiverTest Signed-off-by: chenxinyu <[email protected]> Change-Id: Ib834e2a960741f7fa33a0661c67f305af0db517a