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

Commit d4d46285 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 am: 16255fda

am: 4e743f68

Change-Id: Iff1739cb98d1f978f6246bbd73a8163822e2e6c7
parents 379c317a 4e743f68
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);