commit | 813a4bd48de33efe5c882ad3b9258e88d6d10fd7 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Mon Mar 18 15:17:55 2013 -0700 |
committer | Nick Kralevich <nnk@google.com> | Tue Mar 19 16:01:25 2013 -0700 |
tree | 4fae6f9236984508fe07c53eae3e8871eb4c04d6 | |
parent | 2b3202c3ff18469b294629bf1416118f12492173 [diff] |
PackageUtil: don't collect certs if package doesn't exist If packageParser.parsePackage() returns null, don't attempt call packageParser.collectCertificates(). This fixes a NPE triggered by the following command: am start -a android.intent.action.VIEW -d file:///blah/blah.apk -t application/vnd.android.package-archive Change-Id: I6f6f836734d4b4ee07e98ee6b1f6339fa675b8b0