mirror of
https://github.com/status-im/status-go.git
synced 2025-02-22 03:38:27 +00:00
library.c : fix JniAttach attach/detach status
This commit is contained in:
parent
814e076d64
commit
122aea9c80
@ -31,14 +31,14 @@ static bool JniAttach( JNIEnv **env )
|
||||
// attach thread to JNI
|
||||
//(*gJavaVM)->AttachCurrentThread( gJavaVM, (void **)env, NULL ); // Oracle JNI API
|
||||
(*gJavaVM)->AttachCurrentThread( gJavaVM, env, NULL ); // Android JNI API
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
else if (status != JNI_OK)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
/*!
|
||||
|
Loading…
x
Reference in New Issue
Block a user