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

Commit 72be156b authored by Steven Moreland's avatar Steven Moreland
Browse files

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

This reverts commit 243bcfda.

(originally reverted due to merge conflicts)

Bug: 32172906
Test: hidl_test

Change-Id: I70fde3ffe0d2c67390f7152acedd45c39009a134
parent 243bcfda
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -381,8 +381,7 @@ static jobject JHwBinder_native_getService(
        return NULL;
    }

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

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