diff --git a/services/flashd/BUILD.gn b/services/flashd/BUILD.gn index 93be03b4bd5b8303b5a4cb86b15fd2e1f20c81a9..9964e105203ade4a8f041958f81fda658ba35a3c 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 0d3e1fdb3b5829eb372846ba471d80e030195b94..fd5c15205b9323ad4e4c9f61219398c329f14858 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 0c117b730eaaf9eb660461636e5cc7fc0b820046..5188121888b6c45f9ccbea1d079ae6334d27e6e2 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",