Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 52062b1f authored by Steven Moreland's avatar Steven Moreland Committed by android-build-merger
Browse files

Merge "HIDL: Check error value." am: 898137f8 am: 74426e9c

am: b9b7bfb0

Change-Id: I2b1506eee7c7a5f9557029abd2013c3b2ae0c523
parents 6f180ea9 b9b7bfb0
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -391,6 +391,10 @@ static void JHwParcel_native_verifySuccess(JNIEnv *env, jobject thiz) {
    Status status;
    status_t err = ::android::hardware::readFromParcel(&status, *parcel);
    signalExceptionForError(env, err);

    if (!status.isOk()) {
        signalExceptionForError(env, UNKNOWN_ERROR, true /* canThrowRemoteException */);
    }
}

static void JHwParcel_native_release(