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

Commit 79994cb1 authored by Steven Moreland's avatar Steven Moreland Committed by Gerrit Code Review
Browse files

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

parents 602b7be0 243bcfda
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -381,7 +381,8 @@ static jobject JHwBinder_native_getService(
        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) {
        signalExceptionForError(env, NAME_NOT_FOUND);