Commit f31a9333 authored by Egor Pasko's avatar Egor Pasko Committed by Commit Bot

base/android: Handle JNI_OnLoad failures better

Just a tiny fix to follow the API contract.

Bug: None
Change-Id: I2ed632b45d802ddc100340121b7e29b37abc5198
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2560123Reviewed-by: default avatarBenoit L <lizeb@chromium.org>
Commit-Queue: Egor Pasko <pasko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#831009}
parent ef5d269f
......@@ -439,7 +439,7 @@ int LoadCreateSharedRelocations(const String& path, void* wanted_address) {
}
if (!CallJniOnLoad(handle))
return false;
return -1;
return relro_fd;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment