Merge "Change out value type for Parcel::hasFileDescriptorsInRange()" am: 6a793fe262
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1864633 Change-Id: Iba0319e19e425730648439a2a1e68692a04fdfbd
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user