From a4179f5119c706a5a102b804dfe737634302ad45 Mon Sep 17 00:00:00 2001 From: xuerunlong Date: Mon, 27 May 2024 10:08:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: xuerunlong --- filemanagement/environment/include/oh_environment.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/filemanagement/environment/include/oh_environment.h b/filemanagement/environment/include/oh_environment.h index d6f230ce8..f36caa72d 100644 --- a/filemanagement/environment/include/oh_environment.h +++ b/filemanagement/environment/include/oh_environment.h @@ -39,6 +39,7 @@ extern "C" { #endif /** * @brief Get the user Download directory. + * This API can be called only by system applications. * * @permission ohos.permission.READ_WRITE_DOWNLOAD_DIRECTORY * @param result Output a pointer to a string. Please use free() to clear the resource. @@ -53,6 +54,7 @@ FileManagement_ErrCode OH_Environment_GetUserDownloadDir(char **result); /** * @brief Get the user Desktop directory. + * This API can be called only by system applications. * * @permission ohos.permission.READ_WRITE_DESKTOP_DIRECTORY * @param result Output a pointer to a string. Please use free() to clear the resource. @@ -67,6 +69,7 @@ FileManagement_ErrCode OH_Environment_GetUserDesktopDir(char **result); /** * @brief Get the user Document directory. + * This API can be called only by system applications. * * @permission ohos.permission.READ_WRITE_DOCUMENTS_DIRECTORY * @param result Output a pointer to a string. Please use free() to clear the resource. -- Gitee