From 98a6b6a6d0f52e4a90ca9bb14ea30b54183192fb Mon Sep 17 00:00:00 2001 From: kun-chen Date: Sat, 29 Mar 2025 18:14:27 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"!1291=20uv=E5=9B=9E=E8=B0=83=E8=BF=BD?= =?UTF-8?q?=E8=B8=AA"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 505392197b28416c2f19505efdabf269993265e5, reversing changes made to 5441484ed6b2d3c1320b9c2ee9fe975075d3cdb2. Signed-off-by: kun-chen --- services/flashd/BUILD.gn | 1 - services/flashd/daemon/daemon.cpp | 3 +-- test/unittest/flashd_test/BUILD.gn | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/services/flashd/BUILD.gn b/services/flashd/BUILD.gn index 93be03b4..9964e105 100644 --- a/services/flashd/BUILD.gn +++ b/services/flashd/BUILD.gn @@ -72,7 +72,6 @@ common_sources = [ "${HDC_PATH}/common/tlv.cpp", "${HDC_PATH}/common/transfer.cpp", "${HDC_PATH}/common/usb.cpp", - "${HDC_PATH}/common/uv_status.cpp", ] config("flashd_hdc_config") { diff --git a/services/flashd/daemon/daemon.cpp b/services/flashd/daemon/daemon.cpp index 0d3e1fdb..fd5c1520 100644 --- a/services/flashd/daemon/daemon.cpp +++ b/services/flashd/daemon/daemon.cpp @@ -84,8 +84,7 @@ void HdcDaemon::InitMod(bool bEnableTCP, bool bEnableUSB) ((HdcDaemonUSB *)clsUSBServ)->Initial(); } - LoopStatus ls(&loopMain, "not support"); - clsJdwp = new HdcJdwp(&loopMain, &ls); + clsJdwp = new HdcJdwp(&loopMain); ((HdcJdwp *)clsJdwp)->Initial(); // enable security diff --git a/test/unittest/flashd_test/BUILD.gn b/test/unittest/flashd_test/BUILD.gn index 0c117b73..51881218 100644 --- a/test/unittest/flashd_test/BUILD.gn +++ b/test/unittest/flashd_test/BUILD.gn @@ -44,7 +44,6 @@ ohos_unittest("flashd_unittest") { "${HDC_PATH}/common/tcp.cpp", "${HDC_PATH}/common/transfer.cpp", "${HDC_PATH}/common/usb.cpp", - "${HDC_PATH}/common/uv_status.cpp", "${HDC_PATH}/daemon/daemon_app.cpp", "${HDC_PATH}/daemon/daemon_forward.cpp", "${HDC_PATH}/daemon/daemon_tcp.cpp", -- Gitee