summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-04-19 16:30:22 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2017-04-19 16:30:28 +0000
commita532f4d7f8bda8c304365eb47c28cc2338b642e1 (patch)
treeaa6c7fa378509fc11483a719b1cc25c946de1579
parentf04390ed49f8152453c859519976767f4e1a8caa (diff)
parent87daeb15fdc49c51798e6f97310f8aeb38c19c44 (diff)
Merge "RecoverySystem: Enable the package compatibility verification." into oc-dev
-rw-r--r--core/java/android/os/RecoverySystem.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/java/android/os/RecoverySystem.java b/core/java/android/os/RecoverySystem.java
index bb0fdbe4e26a..447f2805d075 100644
--- a/core/java/android/os/RecoverySystem.java
+++ b/core/java/android/os/RecoverySystem.java
@@ -353,9 +353,7 @@ public class RecoverySystem {
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);
}
/**