diff --git a/device_info/device_info.cpp b/device_info/device_info.cpp index cc8dfb9ff..89947e292 100644 --- a/device_info/device_info.cpp +++ b/device_info/device_info.cpp @@ -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(); @@ -70,4 +70,4 @@ const char *AclGetSerial(void) #if __cplusplus } #endif -#endif /* __cplusplus */ \ No newline at end of file +#endif /* __cplusplus */