This commit is contained in:
Andrea Cavalli 2021-05-27 11:14:08 +02:00
parent 21c2e5b74a
commit e38303a30a
2 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,7 @@ static jint register_native(JavaVM *vm) {
td::jni::init_vars(env, API_PACKAGE_NAME);
td::td_api::Object::init_jni_vars(env, API_PACKAGE_NAME);
td::td_api::Function::init_jni_vars(env, API_PACKAGE_NAME);
td::Log::set_log_message_callback(0, on_log_message);
td::ClientManager::set_log_message_callback(0, on_log_message);
return JAVA_VERSION;
}

View File

@ -155,7 +155,7 @@ static jint register_native(JavaVM *vm) {
td::jni::init_vars(env, API_PACKAGE_NAME);
td::td_api::Object::init_jni_vars(env, API_PACKAGE_NAME);
td::td_api::Function::init_jni_vars(env, API_PACKAGE_NAME);
td::Log::set_log_message_callback(0, on_log_message);
td::ClientManager::set_log_message_callback(0, on_log_message);
return JAVA_VERSION;
}