diff options
author | hjk <[email protected]> | 2023-07-27 14:44:44 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2023-07-27 13:03:41 +0000 |
commit | 68c3103f7651605fd4cd496039354ac80574efd3 (patch) | |
tree | c3408a0d4f1b68bfe1ae29e6c64aeec162022ce8 /src/plugins/android/androiddevice.cpp | |
parent | 1e35f09251d16f3d72bac759e5c25161a6a3828a (diff) |
Android: Use a more direct access to the tools' path
Change-Id: I49c574144fd4d6b2edd829538c424465c1fe7f05
Reviewed-by: Jarek Kobus <[email protected]>
Diffstat (limited to 'src/plugins/android/androiddevice.cpp')
-rw-r--r-- | src/plugins/android/androiddevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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, |