From acc9c33cbc9c6e904608e1ed0ae516ccf7e7eed5 Mon Sep 17 00:00:00 2001 From: zhangsaiyang Date: Fri, 2 Feb 2024 10:58:47 +0800 Subject: [PATCH] =?UTF-8?q?=E2=80=9D=E4=BF=AE=E6=94=B9destUri4.1=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhangsaiyang --- .../js/src/mod_fs/properties/copy_listener/trans_listener.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/kits/js/src/mod_fs/properties/copy_listener/trans_listener.cpp b/interfaces/kits/js/src/mod_fs/properties/copy_listener/trans_listener.cpp index 039b500bc..374853f88 100644 --- a/interfaces/kits/js/src/mod_fs/properties/copy_listener/trans_listener.cpp +++ b/interfaces/kits/js/src/mod_fs/properties/copy_listener/trans_listener.cpp @@ -117,7 +117,7 @@ NError TransListener::CopyFileFromSoftBus(const std::string &srcUri, return NError(EIO); } - Uri uri(srcUri); + Uri uri(destUri); auto authority = uri.GetAuthority(); if (authority == FILE_MANAGER_AUTHORITY || authority == MEDIA_AUTHORITY) { HILOGW("Public or media path not copy"); -- Gitee