From 522de9bfd7afc30ae32affa728b7e929b46ccc60 Mon Sep 17 00:00:00 2001 From: Marcus Tillmanns Date: Wed, 5 Apr 2023 11:15:02 +0200 Subject: Devices: Unify Port Gathering method All devices that support it use the same mechanism to gather ports so this patch removes the individual implementations in favor of a single one in IDevice.cpp. This patch also removes: * canAutodetectPorts() as it was not used. * Port::parseFrom...Output as they are not used anymore. Change-Id: I8ecedec2d71e60985402387982c64311c5a651e6 Reviewed-by: hjk Reviewed-by: --- src/plugins/android/androiddevice.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/plugins/android/androiddevice.cpp') diff --git a/src/plugins/android/androiddevice.cpp b/src/plugins/android/androiddevice.cpp index 6346c47d7eb..bd518a4e707 100644 --- a/src/plugins/android/androiddevice.cpp +++ b/src/plugins/android/androiddevice.cpp @@ -388,11 +388,6 @@ IDeviceWidget *AndroidDevice::createWidget() return new AndroidDeviceWidget(sharedFromThis()); } -bool AndroidDevice::canAutoDetectPorts() const -{ - return true; -} - DeviceProcessSignalOperation::Ptr AndroidDevice::signalOperation() const { return DeviceProcessSignalOperation::Ptr(new AndroidSignalOperation()); -- cgit v1.2.3