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

Commit f2bbdf92 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...

Merge "Revert "Update for less arguments in hidl toBinder."" am: 79994cb1 am: 16255fda am: 4e743f68
am: d4d46285

Change-Id: I1979f57a392d235666d6298c875155878813a2f2
parents c3619bce d4d46285
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);