Bugfix
This commit is contained in:
parent
d411414c9e
commit
a54950dc93
@ -168,8 +168,7 @@ static jint register_native(JavaVM *vm) {
|
||||
#undef TD_OBJECT
|
||||
|
||||
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::jni::set_package_name(API_PACKAGE_NAME);
|
||||
|
||||
return JAVA_VERSION;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user