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
Loading
Please register or sign in to comment