From 71dcc0c657f43b62b99caff549628bfdeed1bc9c Mon Sep 17 00:00:00 2001 From: sunwen Date: Thu, 13 Jun 2024 16:36:00 +0800 Subject: [PATCH] feat: Delete get device status while stop full scan. --- src/device/DeviceManager.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/device/DeviceManager.cpp b/src/device/DeviceManager.cpp index 98c0606..872fa5e 100644 --- a/src/device/DeviceManager.cpp +++ b/src/device/DeviceManager.cpp @@ -441,12 +441,11 @@ void DeviceManager::prepareFinishInitialize() void DeviceManager::stopFullScan() { - DeviceStatus inf = getDeviceStatus(); - if (inf != DeviceStatus::Scanning) - { - return; - } - +// DeviceStatus inf = getDeviceStatus(); +// if (inf != DeviceStatus::Scanning) +// { +// return; +// } DmsSyncActionResult result = mStopScanAction->execute(); if(!result.mIsSucessful) {