aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/android/androiddevice.cpp
diff options
context:
space:
mode:
authorJarek Kobus <[email protected]>2024-05-15 19:45:52 +0200
committerJarek Kobus <[email protected]>2024-05-23 12:52:54 +0000
commitaf3ab760ad4cfc81c264291db1dda5e0da037599 (patch)
tree1162a8f73f787d04c89cdba09898eaba2a99128e /src/plugins/android/androiddevice.cpp
parent6eaa9f099a29a3e8d252fe20b534647e61f2d8b2 (diff)
Android: Transform AndroidAvdManager class into namespace
Hide waitForBooted() in cpp. Move avdManagerCommand() into avddialog.cpp, as it's the only one usage of this method. Change-Id: Id88ecbb5532a7d2594c65dddc8245573efd41018 Reviewed-by: <[email protected]> Reviewed-by: Alessandro Portale <[email protected]>
Diffstat (limited to 'src/plugins/android/androiddevice.cpp')
-rw-r--r--src/plugins/android/androiddevice.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/android/androiddevice.cpp b/src/plugins/android/androiddevice.cpp
index 1478abfb5fb..e54693d8be1 100644
--- a/src/plugins/android/androiddevice.cpp
+++ b/src/plugins/android/androiddevice.cpp
@@ -495,8 +495,8 @@ void AndroidDeviceManager::startAvd(const ProjectExplorer::IDevice::Ptr &device,
const AndroidDevice *androidDev = static_cast<const AndroidDevice *>(device.get());
const QString name = androidDev->avdName();
qCDebug(androidDeviceLog, "Starting Android AVD id \"%s\".", qPrintable(name));
- auto future = Utils::asyncRun([this, name, device] {
- const QString serialNumber = m_avdManager.startAvd(name);
+ auto future = Utils::asyncRun([name, device] {
+ const QString serialNumber = AndroidAvdManager::startAvd(name);
// Mark the AVD as ReadyToUse once we know it's started
if (!serialNumber.isEmpty()) {
DeviceManager *const devMgr = DeviceManager::instance();