Converted error message to debug message

This commit is contained in:
Juha Heinanen
2024-10-22 18:18:41 +03:00
parent bb4fe8da2b
commit db1287ea44

View File

@ -259,7 +259,7 @@ static void event_handler(enum ua_event ev, struct bevent *event, void *arg)
JNIEnv *env; JNIEnv *env;
jint res = (*javaVM)->GetEnv(javaVM, (void**)&env, JNI_VERSION_1_6); jint res = (*javaVM)->GetEnv(javaVM, (void**)&env, JNI_VERSION_1_6);
if (res != JNI_OK) { if (res != JNI_OK) {
LOGW("failed to get javaVM environment, ErrorCode = %d\n", res); LOGD("failed to get javaVM environment, ErrorCode = %d\n", res);
res = (*javaVM)->AttachCurrentThread(javaVM, &env, NULL); res = (*javaVM)->AttachCurrentThread(javaVM, &env, NULL);
if (JNI_OK != res) { if (JNI_OK != res) {
LOGE("failed to AttachCurrentThread, ErrorCode = %d\n", res); LOGE("failed to AttachCurrentThread, ErrorCode = %d\n", res);