commit | d9d438ac4e851275abb4ddc6671f74701e07b4fc | [log] [tgz] |
---|---|---|
author | Todd Kennedy <toddke@google.com> | Wed Apr 06 14:08:14 2016 -0700 |
committer | Todd Kennedy <toddke@google.com> | Wed Apr 06 15:16:43 2016 -0700 |
tree | b8fee0af903207a48e783253c52f30c51135c746 | |
parent | 347bb9a3cf53595b8beed17574cec9c0072aa819 [diff] |
Only parse an APK once During package installation, we were parsing the APK twice; once in the context of the PackageInstaller and once in the context of the PackageManager. Instead, the installer should just pass the certificates to be used further in the process. If the PackageManager doesn't receive certificates [or, if there's an error using them], it will fallback to re-parsing the APK. Bug: 27502465 Change-Id: I94ce551af54eaa9916228e933134debe50867d21