aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/android/androidrunnerworker.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2018-05-15 09:52:09 +0200
committerhjk <hjk@qt.io>2018-05-15 10:36:48 +0000
commit0031dbb667157a65d6ab1a7e2b7287baac00fd27 (patch)
tree480c5d164f30ce5f933c25228fc79cadc3f1b18a /src/plugins/android/androidrunnerworker.h
parent2d13e94f5bb0058ba797be9c48c0b0ab01132e64 (diff)
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>
Diffstat (limited to 'src/plugins/android/androidrunnerworker.h')
-rw-r--r--src/plugins/android/androidrunnerworker.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/android/androidrunnerworker.h b/src/plugins/android/androidrunnerworker.h
index 12cf219eca..24ecb30acc 100644
--- a/src/plugins/android/androidrunnerworker.h
+++ b/src/plugins/android/androidrunnerworker.h
@@ -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;