diff options
Diffstat (limited to 'platform/android')
-rw-r--r-- | platform/android/java/src/com/android/godot/Godot.java | 2 | ||||
-rw-r--r-- | platform/android/java_glue.cpp | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/platform/android/java/src/com/android/godot/Godot.java b/platform/android/java/src/com/android/godot/Godot.java index 11fb894545..658c272321 100644 --- a/platform/android/java/src/com/android/godot/Godot.java +++ b/platform/android/java/src/com/android/godot/Godot.java @@ -319,7 +319,7 @@ public class Godot extends Activity implements SensorEventListener //check for apk expansion API - if (true) { + if (!true) { command_line = getCommandLine(); boolean use_apk_expansion=false; String main_pack_md5=null; diff --git a/platform/android/java_glue.cpp b/platform/android/java_glue.cpp index 5c39cdbacc..e67388b6f5 100644 --- a/platform/android/java_glue.cpp +++ b/platform/android/java_glue.cpp @@ -1573,13 +1573,18 @@ JNIEXPORT void JNICALL Java_com_android_godot_GodotLib_calldeferred(JNIEnv * env int count = env->GetArrayLength(params); Variant args[VARIANT_ARG_MAX]; + print_line("Java->GD call: "+obj->get_type()+"::"+str_method+" argc "+itos(count)); + for (int i=0; i<MIN(count,VARIANT_ARG_MAX); i++) { jobject obj = env->GetObjectArrayElement(params, i); args[i] = _jobject_to_variant(env, obj); + print_line("\targ"+itos(i)+": "+Variant::get_type_name(args[i].get_type())); + }; + obj->call_deferred(str_method, args[0],args[1],args[2],args[3],args[4]); // something }; |