Fix NativeHandle return in TV Input HAL 2.0 default implementation
Bug: 227673740 Test: atest VtsHalTvInputTargetTest Change-Id: I0b18b77c5f3a0b99a1e705ef61d6691f8d33a561
This commit is contained in:
parent
36117a1587
commit
e1a730577c
1 changed files with 1 additions and 2 deletions
|
@ -96,8 +96,7 @@ void TvInput::init() {
|
|||
}
|
||||
mStreamConfigs[in_deviceId][in_streamId]->handle = createNativeHandle(in_streamId);
|
||||
mStreamConfigs[in_deviceId][in_streamId]->isOpen = true;
|
||||
NativeHandle aidlHandle = makeToAidl(mStreamConfigs[in_deviceId][in_streamId]->handle);
|
||||
_aidl_return = &aidlHandle;
|
||||
*_aidl_return = makeToAidl(mStreamConfigs[in_deviceId][in_streamId]->handle);
|
||||
return ::ndk::ScopedAStatus::ok();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue