diff options
author | Todd Kennedy <toddke@google.com> | 2016-04-06 14:08:14 -0700 |
---|---|---|
committer | Todd Kennedy <toddke@google.com> | 2016-04-06 15:16:43 -0700 |
commit | d9d438ac4e851275abb4ddc6671f74701e07b4fc (patch) | |
tree | b8fee0af903207a48e783253c52f30c51135c746 /tools/aapt2/java/JavaClassGenerator.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions