mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-26 23:57:33 +00:00
Custom clients move the Kotlin classes out of com.carriez.flutter_hbb. DocumentLogs declared setEnabled as a native method, so its export Java_com_carriez_flutter_1hbb_DocumentLogs_setEnabled did not link there and the app crashed on start with UnsatisfiedLinkError. The ffi package keeps its name, so declare the native in ffi.FFI like the others and call it from DocumentLogs. Fixes rustdesk/rustdesk-server-pro#1035 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JAxkkiaGp2k8okvs4MpCUq