Skip to content

Commit

Permalink
Use hidden API to validate APK chains
Browse files Browse the repository at this point in the history
Bug: 13678484
Change-Id: I28dedab74b0e24d47ab9f2190298156c909e9d54
  • Loading branch information
kruton authored and Brint E. Kriebel committed Aug 15, 2014
1 parent 0098006 commit 66484ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/java/android/content/pm/PackageParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ public boolean collectCertificates(Package pkg, int flags) {
}

try {
JarFile jarFile = new JarFile(mArchiveSourcePath);
JarFile jarFile = new JarFile(mArchiveSourcePath, true, true);

Certificate[] certs = null;

Expand Down

0 comments on commit 66484ba

Please sign in to comment.