From 881ccccbcf326389227315f3e3425cd5f9c5f6cf Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Tue, 5 Jan 2016 05:31:33 -0500 Subject: [PATCH] Android: Fixed up drop events for new interface. --- src/core/android/SDL_android.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/android/SDL_android.c b/src/core/android/SDL_android.c index f6e0a833c..44f6e8085 100644 --- a/src/core/android/SDL_android.c +++ b/src/core/android/SDL_android.c @@ -144,8 +144,9 @@ void Java_org_libsdl_app_SDLActivity_onNativeDropFile( jstring filename) { const char *path = (*env)->GetStringUTFChars(env, filename, NULL); - SDL_SendDropFile(path); + SDL_SendDropFile(NULL, path); (*env)->ReleaseStringUTFChars(env, filename, path); + SDL_SendDropComplete(NULL); } /* Resize */