Merge "Change out value type for Parcel::hasFileDescriptorsInRange()"

This commit is contained in:
Bernardo Rufino
2021-10-21 10:13:15 +00:00
committed by Gerrit Code Review

View File

@@ -641,7 +641,7 @@ static jboolean android_os_Parcel_hasFileDescriptorsInRange(JNIEnv* env, jclass
Parcel* parcel = reinterpret_cast<Parcel*>(nativePtr); Parcel* parcel = reinterpret_cast<Parcel*>(nativePtr);
if (parcel != NULL) { if (parcel != NULL) {
bool result; bool result;
status_t err = parcel->hasFileDescriptorsInRange(offset, length, result); status_t err = parcel->hasFileDescriptorsInRange(offset, length, &result);
if (err != NO_ERROR) { if (err != NO_ERROR) {
signalExceptionForError(env, clazz, err); signalExceptionForError(env, clazz, err);
return JNI_FALSE; return JNI_FALSE;