Change out value type for Parcel::hasFileDescriptorsInRange()

Test: atest -d android.os.cts.ParcelTest
Change-Id: Idfcad04de35750d291f3351378e8420e5b890abf
This commit is contained in:
Bernardo Rufino
2021-10-20 11:22:52 +01:00
parent ef5365a7f6
commit 68a6b0d1a3

View File

@@ -641,7 +641,7 @@ static jboolean android_os_Parcel_hasFileDescriptorsInRange(JNIEnv* env, jclass
Parcel* parcel = reinterpret_cast<Parcel*>(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;