|
|
|
@ -151,7 +151,8 @@ status_t LWOmxNode::allocateSecureBuffer(
|
|
|
|
|
hidl_handle const& outNativeHandle) {
|
|
|
|
|
fnStatus = toStatusT(status);
|
|
|
|
|
*buffer = outBuffer;
|
|
|
|
|
*native_handle = NativeHandle::create(
|
|
|
|
|
*native_handle = outNativeHandle.getNativeHandle() == nullptr ?
|
|
|
|
|
nullptr : NativeHandle::create(
|
|
|
|
|
native_handle_clone(outNativeHandle), true);
|
|
|
|
|
}));
|
|
|
|
|
return transStatus == NO_ERROR ? fnStatus : transStatus;
|
|
|
|
|