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

Commit 16255fda authored by Steven Moreland's avatar Steven Moreland Committed by android-build-merger
Browse files

Merge "Revert "Update for less arguments in hidl toBinder.""

am: 79994cb1

Change-Id: I325335a278fc9aebf7957e23089c72665169eeb3
parents b167ed08 79994cb1
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -383,7 +383,8 @@ static jobject JHwBinder_native_getService(
        return NULL;
        return NULL;
    }
    }


    sp<hardware::IBinder> service = hardware::toBinder<hidl::base::V1_0::IBase>(ret);
    sp<hardware::IBinder> service = hardware::toBinder<
            hidl::base::V1_0::IBase, hidl::base::V1_0::BpHwBase>(ret);


    if (service == NULL) {
    if (service == NULL) {
        signalExceptionForError(env, NAME_NOT_FOUND);
        signalExceptionForError(env, NAME_NOT_FOUND);