!263 FIX: 恢复HalGetSerial接口

Merge pull request !263 from cheng_jinsong/1114
This commit is contained in:
openharmony_ci
2022-11-24 08:49:13 +00:00
committed by Gitee
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
*/