mirror of https://github.com/FreeRDP/FreeRDP
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:
commit
86a58a8dc9
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue