Description:dinput fix dm pkgName

Match-id-98432cc67c96dfb37f26ef89f0ba45dd8f594916
This commit is contained in:
xxxx
2022-06-15 12:08:39 +08:00
parent f6f1c19bc9
commit 64b7f7877f
@@ -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;