Fixed calling JNI method in a wrong way.
Method is void and does not return bool.
Added missing return statement.