OSDN Git Service

Add a queue of pending finished input events.
authorJeff Brown <jeffbrown@google.com>
Wed, 22 May 2013 03:37:51 +0000 (20:37 -0700)
committerJeff Brown <jeffbrown@google.com>
Wed, 22 May 2013 17:33:48 +0000 (10:33 -0700)
commit56513492ea6d4a72584cbc01979f7b3fa3c2807f
tree1ccfee031e4962ad72ecf28d7ee78f96aa264f14
parent4c32885c4249be9b0a9e674b96ebacc78152b47e
Add a queue of pending finished input events.

Although in practice an application or IME is unlikely to fill up
the input channel with finish events, it can happen when events are
being delivered very rapidly.  Handle this situation by queuing
up the pending finish events until the socket becomes writable again.

Bug: 9034301
Change-Id: I938a62a75d12106a19cff2d016ba7af0db877ecf
core/jni/android_view_InputEventReceiver.cpp