forked from qt-creator/qt-creator
Android: Adapt to ProjectExplorer::ToolRunner introduction
Change-Id: I71cc25ef3daa0eee51a4c94285174e0f3b45d41f Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -684,8 +684,8 @@ void AndroidRunnerWorker::adbKill(qint64 pid)
|
||||
<< "kill" << "-9" << QString::number(pid));
|
||||
}
|
||||
|
||||
AndroidRunner::AndroidRunner(QObject *parent, AndroidRunConfiguration *runConfig, Core::Id runMode)
|
||||
: QObject(parent), m_runConfig(runConfig)
|
||||
AndroidRunner::AndroidRunner(QObject *parent, RunConfiguration *runConfig, Core::Id runMode)
|
||||
: QObject(parent), m_runConfig(qobject_cast<AndroidRunConfiguration *>(runConfig))
|
||||
{
|
||||
static const int metaTypes[] = {
|
||||
qRegisterMetaType<QVector<QStringList> >("QVector<QStringList>"),
|
||||
@@ -703,7 +703,7 @@ AndroidRunner::AndroidRunner(QObject *parent, AndroidRunConfiguration *runConfig
|
||||
m_androidRunnable.deviceSerialNumber = AndroidManager::deviceSerialNumber(target);
|
||||
|
||||
m_worker.reset(new AndroidRunnerWorker(
|
||||
runConfig, runMode, m_androidRunnable.packageName,
|
||||
m_runConfig, runMode, m_androidRunnable.packageName,
|
||||
AndroidDeviceInfo::adbSelector(m_androidRunnable.deviceSerialNumber)));
|
||||
m_worker->moveToThread(&m_thread);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user