Merge pull request #3689 from iiordanov/fix_wrong_method_signature_OnRemoteClipboardChanged

Correcting invocation of OnRemoteClipboardChanged to avoid java.lang.NoSuchMethodError
This commit is contained in:
akallabeth 2017-01-11 11:37:50 +01:00 committed by GitHub
commit 86a58a8dc9
1 changed files with 1 additions and 1 deletions

View File

@ -436,7 +436,7 @@ static UINT android_cliprdr_server_format_data_response(
data = (void*) ClipboardGetData(afc->clipboard, formatId, &size);
attached = jni_attach_thread(&env);
jdata = jniNewStringUTF(env, data, size);
freerdp_callback("OnRemoteClipboardChanged", "(ILjava/lang/String;)V", instance,
freerdp_callback("OnRemoteClipboardChanged", "(JLjava/lang/String;)V", (jlong)instance,
jdata);
(*env)->DeleteLocalRef(env, jdata);