forked from qt-creator/qt-creator
Android: Pass RunWorker to AndroidRunnerWorker
The RunWorker will carry the amPreStart/amPostFinish commands later, and the run control is still accessible via worker->runControl(). Change-Id: Ieac1a1d2a5a8689025a7707b218df44ef2485b16 Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
This commit is contained in:
@@ -142,7 +142,7 @@ AndroidRunner::AndroidRunner(RunControl *runControl,
|
||||
}
|
||||
|
||||
const int apiLevel = AndroidManager::deviceApiLevel(m_target);
|
||||
m_worker.reset(new AndroidRunnerWorker(runControl, m_androidRunnable));
|
||||
m_worker.reset(new AndroidRunnerWorker(this, m_androidRunnable));
|
||||
m_worker->setIntentName(intent);
|
||||
m_worker->setIsPreNougat(apiLevel <= 23);
|
||||
m_worker->setExtraAppParams(extraAppParams);
|
||||
|
||||
Reference in New Issue
Block a user