From cf01d20f95c586caf4441c2772fa5b34fe1c5a0f Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 15 May 2018 10:08:16 +0200 Subject: 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 --- src/plugins/android/androidrunner.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/plugins/android/androidrunner.cpp') 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(aspect)->value().split(' '); - if (auto aspect = rc->extraAspect(Constants::ANDROID_PRESTARTSHELLCMDLIST_ASPECT)) { for (QString shellCmd : static_cast(aspect)->value()) m_androidRunnable.beforeStartAdbCommands.append(QString("shell %1").arg(shellCmd)); -- cgit v1.2.1