From 6ffb1e3129a95ad30c2a1951373b1001db930ed6 Mon Sep 17 00:00:00 2001 From: Christof Arnosti Date: Thu, 5 Mar 2020 22:39:11 +0100 Subject: [PATCH] serial-usb-for-android: Display all Serial computers Signed-off-by: Christof Arnosti Signed-off-by: Dirk Hohndel --- core/downloadfromdcthread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/downloadfromdcthread.cpp b/core/downloadfromdcthread.cpp index 34f1eb748..edaa7fd42 100644 --- a/core/downloadfromdcthread.cpp +++ b/core/downloadfromdcthread.cpp @@ -180,8 +180,8 @@ void fill_computer_list() const char *vendor = dc_descriptor_get_vendor(descriptor); const char *product = dc_descriptor_get_product(descriptor); #if defined(Q_OS_ANDROID) - if ((transports & ~(DC_TRANSPORT_SERIAL | DC_TRANSPORT_USB | DC_TRANSPORT_USBHID)) == 0) - // if the only available transports are serial/USB, then check against + if ((transports & ~(DC_TRANSPORT_USB | DC_TRANSPORT_USBHID)) == 0) + // if the only available transports are USB, then check against // the ones that we explicitly support on Android if (!mobileProductList.contains(vendor) || !mobileProductList[vendor].contains(product)) continue;