diff options
author | hjk <hjk@qt.io> | 2018-05-15 10:08:16 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2018-05-16 08:22:06 +0000 |
commit | cf01d20f95c586caf4441c2772fa5b34fe1c5a0f (patch) | |
tree | 0fefd53083166490212785a763f30371391d88d0 /src/plugins/android/androidrunner.cpp | |
parent | 7d97f4ce2d431d24dcc5f9fe5f2e4467b22b6692 (diff) | |
download | qt-creator-cf01d20f95c586caf4441c2772fa5b34fe1c5a0f.tar.gz |
Android: Remove AndroidRunnable::amStartExtraArgs
It was only set up in AndroidRunner from the run configuration
and passed to AndroidRunnerWorker, instead get in in the
AndroidRunnerWorker from the run configuration directly.
Change-Id: I52fc793f07ca766a80a1b06f216f850da0b563ed
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
Diffstat (limited to 'src/plugins/android/androidrunner.cpp')
-rw-r--r-- | src/plugins/android/androidrunner.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/android/androidrunner.cpp b/src/plugins/android/androidrunner.cpp index 87ffe95d2e..c5c6cd2d74 100644 --- a/src/plugins/android/androidrunner.cpp +++ b/src/plugins/android/androidrunner.cpp @@ -131,9 +131,6 @@ AndroidRunner::AndroidRunner(RunControl *runControl, m_androidRunnable.packageName = intent.left(intent.indexOf('/')); RunConfiguration *rc = runControl->runConfiguration(); - if (auto aspect = rc->extraAspect(Constants::ANDROID_AMSTARTARGS_ASPECT)) - m_androidRunnable.amStartExtraArgs = static_cast<BaseStringAspect *>(aspect)->value().split(' '); - if (auto aspect = rc->extraAspect(Constants::ANDROID_PRESTARTSHELLCMDLIST_ASPECT)) { for (QString shellCmd : static_cast<BaseStringListAspect *>(aspect)->value()) m_androidRunnable.beforeStartAdbCommands.append(QString("shell %1").arg(shellCmd)); |