Android: Make the device watcher process terminate on shutdown

Terminate on IPlugin::aboutToShutdown instead of
QCoreApplication::aboutToQuit. If needed synchronously.

Added "ADB device watcher started" logging.

Fixes: QTCREATORBUG-27118
Change-Id: I483659b018c74d179b64a5a4f17cc2c27c9598a8
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
Alessandro Portale
2022-02-25 21:49:11 +01:00
parent 68d30df703
commit e45e16d904
4 changed files with 51 additions and 10 deletions

View File

@@ -44,6 +44,9 @@ class AndroidPlugin final : public ExtensionSystem::IPlugin
class AndroidPluginPrivate *d = nullptr;
public:
ShutdownFlag aboutToShutdown() final;
#ifdef WITH_TESTS
private slots:
void testAndroidSdkManagerProgressParser_data();