aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/android/jni.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/android/jni.cpp')
-rw-r--r--backends/platform/android/jni.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/platform/android/jni.cpp b/backends/platform/android/jni.cpp
index ed0999c880..47dd5c73cf 100644
--- a/backends/platform/android/jni.cpp
+++ b/backends/platform/android/jni.cpp
@@ -108,7 +108,7 @@ const JNINativeMethod JNI::_natives[] = {
(void *)JNI::setSurface },
{ "main", "([Ljava/lang/String;)I",
(void *)JNI::main },
- { "pushEvent", "(IIIIII)V",
+ { "pushEvent", "(IIIIIII)V",
(void *)JNI::pushEvent },
{ "enableZoning", "(Z)V",
(void *)JNI::enableZoning },
@@ -638,7 +638,7 @@ cleanup:
}
void JNI::pushEvent(JNIEnv *env, jobject self, int type, int arg1, int arg2,
- int arg3, int arg4, int arg5) {
+ int arg3, int arg4, int arg5, int arg6) {
// drop events until we're ready and after we quit
if (!_ready_for_events) {
LOGW("dropping event");
@@ -647,7 +647,7 @@ void JNI::pushEvent(JNIEnv *env, jobject self, int type, int arg1, int arg2,
assert(_system);
- _system->pushEvent(type, arg1, arg2, arg3, arg4, arg5);
+ _system->pushEvent(type, arg1, arg2, arg3, arg4, arg5, arg6);
}
void JNI::enableZoning(JNIEnv *env, jobject self, jboolean enable) {