ANDROID: Make pushEvent take 7 parameters instead of 6

This commit is contained in:
Cameron Cawley 2019-05-09 18:58:09 +01:00
parent 96660273fd
commit 6989e63a25
8 changed files with 28 additions and 28 deletions

View file

@ -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) {