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

Commit d37f1360 authored by Steven Moreland's avatar Steven Moreland Committed by android-build-merger
Browse files

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

am: e8341b61

Change-Id: I1337a9b40fdf762cc0150983536981f0a163750a
parents 14be4e65 e8341b61
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);