Start input event sequence numbers at 1
Change-Id: Ia69574cb25bfced8bbeefbc23350706bacdfee12
diff --git a/core/jni/android_view_InputEventSender.cpp b/core/jni/android_view_InputEventSender.cpp
index 2306cf2..8a149d8 100644
--- a/core/jni/android_view_InputEventSender.cpp
+++ b/core/jni/android_view_InputEventSender.cpp
@@ -79,7 +79,7 @@
const sp<MessageQueue>& messageQueue) :
mSenderObjGlobal(env->NewGlobalRef(senderObj)),
mInputPublisher(inputChannel), mMessageQueue(messageQueue),
- mNextPublishedSeq(0) {
+ mNextPublishedSeq(1) {
#if DEBUG_DISPATCH_CYCLE
ALOGD("channel '%s' ~ Initializing input event sender.", getInputChannelName());
#endif