forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.12'
Conflicts: src/plugins/android/androidextralibrarylistmodel.cpp Change-Id: Ica69c24e83deff819e640dcb4c2682a554d8a2d2
This commit is contained in:
@@ -616,8 +616,9 @@ QVector<AndroidDeviceInfo> AndroidConfig::connectedDevices(const FilePath &adbTo
|
||||
if (adbDevs.empty())
|
||||
return devices;
|
||||
|
||||
while (adbDevs.first().startsWith("* daemon"))
|
||||
adbDevs.removeFirst(); // remove the daemon logs
|
||||
for (const QString line : adbDevs) // remove the daemon logs
|
||||
if (line.startsWith("* daemon"))
|
||||
adbDevs.removeOne(line);
|
||||
adbDevs.removeFirst(); // remove "List of devices attached" header line
|
||||
|
||||
// workaround for '????????????' serial numbers:
|
||||
|
Reference in New Issue
Block a user