Commit 098249f7 authored by Adam Barth's avatar Adam Barth

Merge pull request #1294 from abarth/skip_header

Skip "list of devices" header from adb
parents eb53ec31 7019e92f
......@@ -536,6 +536,9 @@ class AndroidDevice extends Device {
if (line.startsWith('* daemon '))
continue;
if (line.startsWith('List of devices'))
continue;
if (deviceRegex1.hasMatch(line)) {
Match match = deviceRegex1.firstMatch(line);
String deviceID = match[1];
......
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