Avoid MotionEvent no finish raise unnecessary ANR

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1459888

Bug: 160561987
Test: atest CtsInputTestCases
Note: the test above is being added in ag/12885227

Change-Id: I9d65c7889650df64f1cf122cfa9f6ba38dc4acbb
(cherry picked from commit 6b297e943b76c6dd9a2bec4124513284d32e30a8)
1 file changed