mirror of
https://gitee.com/openharmony/startup_init
synced 2024-11-23 16:20:00 +00:00
commit
9bae39dd6d
@ -78,6 +78,8 @@ static bool IsPrivateParam(const char *param)
|
||||
"persist.kernel.bundle_name.clouddrive",
|
||||
"persist.kernel.bundle_name.photos",
|
||||
"persist.kernel.bundle_name.filemanager",
|
||||
"persist.hdc.mode",
|
||||
"persist.hdc.mode.usb"
|
||||
};
|
||||
int size = sizeof(privatePersistParams) / sizeof(char*);
|
||||
for (int i = 0; i < size; i++) {
|
||||
@ -132,6 +134,7 @@ static bool GetPersistFilePath(char **path, char **tmpPath, int fileType)
|
||||
if (ret != 0) {
|
||||
PARAM_LOGE("rename failed %s", PARAM_PERSIST_SAVE_PATH);
|
||||
}
|
||||
isFullLoad = false;
|
||||
} else {
|
||||
CheckAndCreateDir(PARAM_PUBLIC_PERSIST_SAVE_PATH);
|
||||
isFullLoad = false;
|
||||
|
Loading…
Reference in New Issue
Block a user