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

Commit 74426e9c authored by Steven Moreland's avatar Steven Moreland Committed by android-build-merger
Browse files

Merge "HIDL: Check error value."

am: 898137f8

Change-Id: I838c21cc0c423d41e980a360967a2773238dff81
parents 5e097d45 898137f8
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(