mirror of
https://github.com/openharmony/distributedhardware_distributed_input.git
synced 2026-07-21 22:05:24 -04:00
fix: modify enable param
Signed-off-by: zhouaoteng <zhouaoteng@huawei.com>
This commit is contained in:
@@ -78,7 +78,7 @@ int32_t DistributedInputSourceHandler::ReleaseSource()
|
||||
int32_t DistributedInputSourceHandler::RegisterDistributedHardware(const std::string &devId,
|
||||
const std::string &dhId, const EnableParam ¶m, std::shared_ptr<RegisterCallback> callback)
|
||||
{
|
||||
return DistributedInputClient::GetInstance().RegisterDistributedHardware(devId, dhId, param.attrs, callback);
|
||||
return DistributedInputClient::GetInstance().RegisterDistributedHardware(devId, dhId, param.sinkAttrs, callback);
|
||||
}
|
||||
|
||||
int32_t DistributedInputSourceHandler::UnregisterDistributedHardware(const std::string &devId,
|
||||
|
||||
Reference in New Issue
Block a user