mirror of
https://github.com/openharmony/bundlemanager_bundle_framework_lite.git
synced 2026-08-28 05:40:10 -04:00
fix ipc problem
Signed-off-by: shilei <shilei91@huawei.com> Change-Id: I9da7aae99efdb0f384fb0455cbf6522334f2bcc7
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
|
||||
#include "utils.h"
|
||||
|
||||
#ifndef __LITEOS_M__
|
||||
#ifdef OHOS_APPEXECFWK_BMS_BUNDLEMANAGER
|
||||
namespace {
|
||||
constexpr int VALUE_NULL = 0;
|
||||
@@ -28,6 +29,7 @@ namespace {
|
||||
constexpr int MAX_DEVICE_ID = 1024;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
void ClearElement(ElementName *element)
|
||||
{
|
||||
@@ -73,6 +75,7 @@ bool SetElementAbilityName(ElementName *element, const char *abilityName)
|
||||
return element->abilityName != nullptr;
|
||||
}
|
||||
|
||||
#ifndef __LITEOS_M__
|
||||
#ifdef OHOS_APPEXECFWK_BMS_BUNDLEMANAGER
|
||||
bool SerializeElement(IpcIo *io, const ElementName *element)
|
||||
{
|
||||
@@ -133,4 +136,5 @@ bool DeserializeElement(ElementName *element, IpcIo *io)
|
||||
}
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
Reference in New Issue
Block a user