Commit ff7d9432 authored by Todd Volkert's avatar Todd Volkert Committed by GitHub

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

parent d562e1aa
...@@ -541,7 +541,7 @@ List<AndroidDevice> getAdbDevices({ String mockAdbOutput }) { ...@@ -541,7 +541,7 @@ List<AndroidDevice> getAdbDevices({ String mockAdbOutput }) {
continue; continue;
// Skip lines about adb server and client version not matching // 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); printStatus(line);
continue; continue;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment