Allow for different adb server version messages in device detection (#9974)

This commit is contained in:
Todd Volkert 2017-05-10 15:51:08 -07:00 committed by GitHub
parent d562e1aa63
commit ff7d9432b8

View File

@ -541,7 +541,7 @@ List<AndroidDevice> getAdbDevices({ String mockAdbOutput }) {
continue;
// Skip lines about adb server and client version not matching
if (line.startsWith('adb server version')) {
if (line.startsWith(new RegExp(r'adb server (version|is out of date)'))) {
printStatus(line);
continue;
}