mirror of
https://github.com/openharmony/distributedhardware_distributed_input.git
synced 2026-07-21 05:45:23 -04:00
Description:dinput fix dm pkgName
Match-id-98432cc67c96dfb37f26ef89f0ba45dd8f594916
This commit is contained in:
@@ -122,7 +122,7 @@ int32_t DistributedInputHandler::GetDeviceInfo(std::string& deviceId)
|
||||
{
|
||||
std::unique_lock<std::mutex> my_lock(operationMutex_);
|
||||
auto localNode = std::make_unique<NodeBasicInfo>();
|
||||
int32_t retCode = GetLocalNodeDeviceInfo("ohos.distributedhardware.devicemanager", localNode.get());
|
||||
int32_t retCode = GetLocalNodeDeviceInfo("ohos.dhardware", localNode.get());
|
||||
if (retCode != 0) {
|
||||
DHLOGE("Could not get device id.");
|
||||
return ERR_DH_INPUT_HANDLER_GET_DEVICE_ID_FAIL;
|
||||
|
||||
Reference in New Issue
Block a user