mirror of
https://gitee.com/openharmony/print_print_fwk
synced 2024-11-23 17:09:46 +00:00
修改ippoverusb打印逻辑
Signed-off-by: shanhaiyang <shanhaiyang@huawei.com>
This commit is contained in:
parent
bc12153957
commit
3e3305790c
@ -3505,7 +3505,7 @@ bool PrintServiceAbility::CheckUserIdInEventType(const std::string &type)
|
||||
void PrintServiceAbility::ConnectIppOverUsbPrinter(const std::string &printerId)
|
||||
{
|
||||
#ifdef IPPOVERUSB_ENABLE
|
||||
auto printerInfo = printSystemData_.QueryDiscoveryedPrinterInfoById(printerId);
|
||||
auto printerInfo = printSystemData_.QueryDiscoveredPrinterInfoById(printerId);
|
||||
if (printerInfo == nullptr) {
|
||||
PRINT_HILOGD("ConnectIppOverUsbPrinter get printer info failed.");
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user