Android: Remove m_deviceSerialNumber and m_apiLevel from Runnable

It's nothing that can be chosen freely, rather a feature of
the current setup/device.

Change-Id: I39460e22dab56adcce9da44f61a895923fb8c2a0
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
This commit is contained in:
hjk
2018-05-07 17:13:52 +02:00
parent cf94c35f68
commit ba01d8729e
5 changed files with 22 additions and 30 deletions

View File

@@ -38,6 +38,9 @@ class RunControl;
}
namespace Android {
class AndroidDeviceInfo;
namespace Internal {
const int MIN_SOCKET_HANDSHAKE_PORT = 20001;
@@ -56,7 +59,7 @@ public:
void logcatReadStandardError();
void logcatReadStandardOutput();
void logcatProcess(const QByteArray &text, QByteArray &buffer, bool onlyError);
void setAndroidRunnable(const AndroidRunnable &runnable);
void setAndroidDeviceInfo(const AndroidDeviceInfo &info);
virtual void asyncStart();
virtual void asyncStop();
@@ -99,6 +102,8 @@ protected:
Utils::Port m_localJdbServerPort;
std::unique_ptr<QProcess, Deleter> m_gdbServerProcess;
std::unique_ptr<QProcess, Deleter> m_jdbProcess;
QString m_deviceSerialNumber;
int m_apiLevel = -1;
};