假设第三方APP一轮扫描完成后都要调用stop

This commit is contained in:
gb 2022-06-01 12:00:00 +08:00
parent b6c57f0e8c
commit 7b2a89f3a1
1 changed files with 4 additions and 1 deletions

View File

@ -1661,6 +1661,9 @@ int hg_scanner::try_third_app_handle_start(bool& handled)
{
final_img_index_ = 0;
if (user_cancel_)
handled = false;
else
ret = SCANNER_ERR_DEVICE_NO_PAPER;
}
else