恢复HalGetSerial接口

Signed-off-by: chengjinsong2 <chengjinsong2@huawei.com>
Change-Id: I17c82a8b38138d14fdcad6e962924bd9176631bd
This commit is contained in:
chengjinsong2
2022-11-13 22:18:24 -08:00
parent 2ccd9404a7
commit 52bf44d572
2 changed files with 14 additions and 0 deletions
@@ -15,6 +15,13 @@
#include "hal_sys_param.h"
static const char OHOS_SERIAL[] = {"1234567890"}; // if not provid serial algorithm,Serial will use this default value.
const char *HalGetSerial(void)
{
return OHOS_SERIAL;
}
/**
* @brief implement for js kvstorekit/filekit
*/
@@ -15,6 +15,13 @@
#include "hal_sys_param.h"
static const char OHOS_SERIAL[] = {"1234567890"}; // if not provid serial algorithm,Serial will use this default value.
const char *HalGetSerial(void)
{
return OHOS_SERIAL;
}
/**
* @brief implement for js kvstorekit/filekit
*/