Developers report that concurrent events generated from different sources/devices can lead to application freezes then ANRs. See https://code.google.com/p/android/issues/detail?id=41755 where it is suggested that handling all incoming events in the "process_input" callback solves the issue. Hence this patch implements the suggestion, however it's unclear whether this solves the symptom, or the root cause of the problem. Change-Id: Ic6b0ad05d192763a6d8842c8befcb87db9714a3c