sync code

Signed-off-by: shilei <shilei91@huawei.com>
Change-Id: Iba524445184a82a30e1a1b66ced9e1dd71312316
This commit is contained in:
shilei
2022-09-15 19:52:04 +08:00
parent 555b26358f
commit 025c6a445e
2 changed files with 13 additions and 0 deletions
@@ -42,6 +42,11 @@ void ClearElement(ElementName *element)
AdapterFree(element->abilityName);
}
void DeleteElement(ElementName *element)
{
AdapterFree(element);
}
bool SetElementDeviceID(ElementName *element, const char *deviceId)
{
if (element == nullptr) {