The first parameter of LibFreeRDP.OnRemoteClipboardChanged() was
authorIordan Iordanov <iiordanov@gmail.com>
Tue, 10 Jan 2017 22:17:44 +0000 (17:17 -0500)
committerIordan Iordanov <iiordanov@gmail.com>
Tue, 10 Jan 2017 22:17:44 +0000 (17:17 -0500)
commitf4b08d8347fe79f8873343cd0fdc4b486861853b
tree487015ada8e81536d0c6334831f4f361e0e8e719
parent8fd926f08524bcdad8adbb5d908ebb1ad2ce6106
The first parameter of LibFreeRDP.OnRemoteClipboardChanged() was
changed from int to long, however, the changed method signature was not
reflected in android_cliprdr.c.

As a result, a copy in the remote session would result in the
java.lang.NoSuchMethodError below:

01-08 20:24:16.620  8234  8865 E AndroidRuntime: FATAL EXCEPTION: Thread-11495
01-08 20:24:16.620  8234  8865 E AndroidRuntime: Process: com.iiordanov.aRDP, PID: 8234
01-08 20:24:16.620  8234  8865 E AndroidRuntime: java.lang.NoSuchMethodError: no static method "Lcom/freerdp/freerdpcore/services/LibFreeRDP;.OnRemoteClipboardChanged(ILjava/lang/String;)V"
01-08 20:51:44.737 11025 11439 F libc    : Fatal signal 11 (SIGSEGV), code 1, fault addr 0xa0 in tid 11439 (Thread-6)
01-08 20:53:14.887 11717 11717 E AndroidRuntime: FATAL EXCEPTION: main

This commit fixes the bug.
client/Android/android_cliprdr.c