Skip to content
Commit af48e4d9 authored by dingxiaobo's avatar dingxiaobo
Browse files

Avoid MotionEvent no finish raise unnecessary ANR

In Monkey test. if Trackball MotionEvent and FocusEvent come together.
motionEvent will be put to batches , Didn't call onBatchedInputEventPending due to FocusEvent Return early.
So the motionEvent would't be handled and finish, And the related inputChannel would't receive inputevents due to FocusWindow change.
Finally raise unnecessary ANR.

Change-Id: I0d48b28e446dc8bccd98932b4e07200276a38aa8
parent 9c0d523b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment