ANDROID: Make pushEvent take 7 parameters instead of 6
This commit is contained in:
parent
96660273fd
commit
6989e63a25
8 changed files with 28 additions and 28 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue