mirror of
https://gitee.com/openharmony/startup_init
synced 2024-12-01 06:10:53 +00:00
!2427 FIX:修改AclGetSerial 获取serial失败返回默认值问题
Merge pull request !2427 from 钟柠/1219_sn
This commit is contained in:
commit
1f4b33ae42
@ -47,7 +47,7 @@ int AclGetDevUdid(char *udid, int size)
|
||||
|
||||
const char *AclGetSerial(void)
|
||||
{
|
||||
static char serialNumber[MAX_SERIAL_LEN] = {"1234567890"};
|
||||
static char serialNumber[MAX_SERIAL_LEN] = {0};
|
||||
#ifdef PARAM_FEATURE_DEVICEINFO
|
||||
std::string result = {};
|
||||
OHOS::device_info::DeviceInfoKits &instance = OHOS::device_info::DeviceInfoKits::GetInstance();
|
||||
|
Loading…
Reference in New Issue
Block a user