From 68c3103f7651605fd4cd496039354ac80574efd3 Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 27 Jul 2023 14:44:44 +0200 Subject: Android: Use a more direct access to the tools' path Change-Id: I49c574144fd4d6b2edd829538c424465c1fe7f05 Reviewed-by: Jarek Kobus --- src/plugins/android/androiddevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/android/androiddevice.cpp') diff --git a/src/plugins/android/androiddevice.cpp b/src/plugins/android/androiddevice.cpp index ce2f4c11ee7..6a6ffcd5c1b 100644 --- a/src/plugins/android/androiddevice.cpp +++ b/src/plugins/android/androiddevice.cpp @@ -641,7 +641,7 @@ void AndroidDeviceManager::setupDevicesWatcher() const CommandLine command = CommandLine(m_androidConfig.adbToolPath(), {"track-devices"}); m_adbDeviceWatcherProcess->setCommand(command); m_adbDeviceWatcherProcess->setWorkingDirectory(command.executable().parentDir()); - m_adbDeviceWatcherProcess->setEnvironment(AndroidConfigurations::toolsEnvironment(m_androidConfig)); + m_adbDeviceWatcherProcess->setEnvironment(m_androidConfig.toolsEnvironment()); m_adbDeviceWatcherProcess->start(); // Setup AVD filesystem watcher to listen for changes when an avd is created/deleted, -- cgit v1.2.3