Hook up to android.os.VintfObject.verify().
Bug:
36592877
Test: Flash on marlin; verify with package that has and doesn't have
compatibility.zip entry.
Change-Id: I4e73fa42f4e3fd2e1c5ffec2ffa6152538d62eee
if (list.isEmpty()) {
throw new IOException("no entries found in the compatibility file");
}
- // TODO(b/36814503): Enable the actual verification when VintfObject APIs are ready.
- // return (VintfObject.verify(list.toArray(new String[list.size()])) == 0);
- return true;
+ return (VintfObject.verify(list.toArray(new String[list.size()])) == 0);
}
/**