commit | 73f1771d27f3268d7bd1348fff689ac4bf5a3f02 | [log] [tgz] |
---|---|---|
author | Mohammad Samiul Islam <samiul@google.com> | Fri Jul 05 14:47:17 2019 +0100 |
committer | Bill Lin <lbill@google.com> | Thu Nov 21 13:46:06 2019 +0800 |
tree | b11ee037a464d0781e45c7ba2d4ff6bd53abfb21 | |
parent | f25aed466801ff743ed0fdcfd26971d36fcc8fea [diff] |
Add .apex suffix to apex files during validation Previously, the apex file being installed was moved into the staging directory as same name provided during installation, due to which, when the source apex file of installation did not have .apex suffix in its file name, it failed validation in apexd. Now, if an apex file does not have proper suffix, it will be concatenated during validation in PackageInstallerSession. Bug: 124837227 Test: atest CtsStagedInstallHostTestCases Test: atest StagedInstallTest#testInstallStagedApexWithoutApexSuffix Exempt-From-Owner-Approval: Already approved in https://googleplex-android-review.git.corp.google.com/c/platform/frameworks/base/+/8528906 Change-Id: I0095c1f985839de8247d9e6aebae948e0e834e7e Merged-In: Ice41f601dc42736ca0cdf2bad0817f0c00f50648