Android: Remove AndroidRunnable::intentName

It was only uses to pass the intent from the Runner to the RunnerWorker,
use a normal stand-alone QString member and setter instead.

Change-Id: I0fde87b0177d4ed013f9599600929070362ea09c
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
This commit is contained in:
hjk
2018-05-15 09:52:09 +02:00
parent 2d13e94f5b
commit 0031dbb667
4 changed files with 6 additions and 7 deletions

View File

@@ -62,6 +62,7 @@ public:
void setExtraEnvVars(const Utils::Environment &extraEnvVars);
void setExtraAppParams(const QString &extraAppParams);
void setIsPreNougat(bool isPreNougat) { m_isPreNougat = isPreNougat; }
void setIntentName(const QString &intentName) { m_intentName = intentName; }
void asyncStart();
void asyncStop();
@@ -89,6 +90,7 @@ protected:
// Create the processes and timer in the worker thread, for correct thread affinity
bool m_isPreNougat = false;
AndroidRunnable m_androidRunnable;
QString m_intentName;
QString m_adb;
qint64 m_processPID = -1;
std::unique_ptr<QProcess, Deleter> m_adbLogcatProcess;