diff --git a/core/jni/android_os_Parcel.cpp b/core/jni/android_os_Parcel.cpp index 8fee610180ca3..f90325c89d533 100644 --- a/core/jni/android_os_Parcel.cpp +++ b/core/jni/android_os_Parcel.cpp @@ -641,7 +641,7 @@ static jboolean android_os_Parcel_hasFileDescriptorsInRange(JNIEnv* env, jclass Parcel* parcel = reinterpret_cast(nativePtr); if (parcel != NULL) { bool result; - status_t err = parcel->hasFileDescriptorsInRange(offset, length, result); + status_t err = parcel->hasFileDescriptorsInRange(offset, length, &result); if (err != NO_ERROR) { signalExceptionForError(env, clazz, err); return JNI_FALSE;