// We receive an array of lines. We're expecting
// to have the build info in the first line, and the build
// date in the 2nd line. There seems to be an empty line
// after all that.
for (String line : lines) {
if (line.length() == 0 || line.startsWith("#")) {
continue;
}
Matcher m = GETPROP_PATTERN.matcher(line);
if (m.matches()) {
String label = m.group(1);
String value = m.group(2);
if (label.length() > 0) {
mDevice.addProperty(label, value);
}
}
}