Description:Security check

Match-id-e53066c1703557b07cb7c9b48a9114e61ccb2e8f
This commit is contained in:
xxxx
2022-09-27 14:09:35 +08:00
parent 04d3a38a2c
commit df66979502
14 changed files with 455 additions and 304 deletions
+4 -2
View File
@@ -55,10 +55,12 @@ DevInfo GetLocalDeviceInfo()
std::string GetLocalNetworkId()
{
if (GetLocalDeviceInfo().networkId.empty()) {
std::string localNetworkId = GetLocalDeviceInfo().networkId;
if (localNetworkId.empty()) {
DHLOGE("local networkId is empty!");
}
return GetLocalDeviceInfo().networkId;
DHLOGI("GetLocalNetworkId, device local networkId is %s", GetAnonyString(localNetworkId).c_str());
return localNetworkId;
}
std::string GetUUIDBySoftBus(const std::string &networkId)