Update td_jni.cpp

This commit is contained in:
Andrea Cavalli 2020-08-20 01:43:49 +02:00
parent 268fec77b2
commit 4fcc752f24

View File

@ -127,8 +127,8 @@ static jint register_native(JavaVM *vm) {
reinterpret_cast<void *>(function_ptr)); reinterpret_cast<void *>(function_ptr));
}; };
auto client_class = td::jni::get_jclass(env, PACKAGE_NAME "/Client"); auto client_class = td::jni::get_jclass(env, PACKAGE_NAME "/NativeClient");
log_class = td::jni::get_jclass(env, PACKAGE_NAME "/Log"); log_class = td::jni::get_jclass(env, PACKAGE_NAME "/NativeLog");
auto object_class = td::jni::get_jclass(env, PACKAGE_NAME "/TdApi$Object"); auto object_class = td::jni::get_jclass(env, PACKAGE_NAME "/TdApi$Object");
auto function_class = td::jni::get_jclass(env, PACKAGE_NAME "/TdApi$Function"); auto function_class = td::jni::get_jclass(env, PACKAGE_NAME "/TdApi$Function");