forked from qt-creator/qt-creator
Android: handle return correct serialNumber for a running avd
AVDs don't get a serial number until they are started, and avdmanager don't make it easy to get their serial either, so we need to check the running devices with adb "emu avd name" command and compare. Change-Id: I3253d25a3461a36eb9918b3c796062bf9e82e0c6 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -174,6 +174,7 @@ public:
|
||||
static Utils::FilePath getJdkPath();
|
||||
static QStringList getAbis(const Utils::FilePath &adbToolPath, const QString &device);
|
||||
|
||||
QString getRunningAvdsSerialNumber(const QString &name) const;
|
||||
static QStringList getRunningAvdsFromDevices(const QVector<AndroidDeviceInfo> &devs);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user