From b02b7d6bd5ec0a837907927555a36b539f8c155c Mon Sep 17 00:00:00 2001 From: zhangsaiyang Date: Fri, 2 Feb 2024 10:55:39 +0800 Subject: [PATCH] =?UTF-8?q?=E2=80=9D=E4=BF=AE=E6=94=B9destUri=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 fba70ce1f..2d6f29800 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