Fixes a bug introduced in the previous patch.
Change-Id: I34ea63d323a0125c3c4ae140a2ae9b8e9ed3e1df
if (verbose)
ALOGD("Added shared lib %s %p", pathName, classLoader);
- bool result = true;
+ bool result = false;
void* vonLoad;
int version;
* newly-registered native method calls. We could try to
* unregister them, but that doesn't seem worthwhile.
*/
- result = false;
+ } else {
+ result = true;
}
if (gDvm.verboseJni) {
ALOGI("[Returned %s from JNI_OnLoad for \"%s\"]",