mirror of
https://github.com/openharmony/vendor_bestechnic.git
synced 2026-07-01 20:34:35 -04:00
恢复HalGetSerial接口
Signed-off-by: chengjinsong2 <chengjinsong2@huawei.com> Change-Id: I17c82a8b38138d14fdcad6e962924bd9176631bd
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user