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

Commit 755bb327 authored by Steven Moreland's avatar Steven Moreland
Browse files

Update for less arguments in hidl toBinder.

Removed unnecessary templatization argument.

Test: hidl_test_java
Bug: 32172906
Merged-In: I88cd2bf7abc3065ece4e28698ba5e0d836b1d0e3
Change-Id: I88cd2bf7abc3065ece4e28698ba5e0d836b1d0e3
parent 747938ed
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -383,8 +383,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);