commit | 10b27eb2ccbb8992895827c0fb21e2d3f9c727db | [log] [tgz] |
---|---|---|
author | Calin Juravle <calin@google.com> | Mon Jan 22 12:50:01 2018 -0800 |
committer | Calin Juravle <calin@google.com> | Mon Jan 22 14:14:39 2018 -0800 |
tree | 3af625b5977e0f996c2fff58af9b3b5c6d2687c8 | |
parent | f74e56af8c1ea49a87a73cdbc70a6b6ec540e22f [diff] |
Perform a non strict matching of .dm files when computing the size 'adb shell pm install' creates the PackageLite structure without validating or renaming the input files to '.apk'. Be more permissive in DexMetadataHeler when computing the size of the package to allow for this scenario. Test: atest core/tests/coretests/src/android/content/pm/dex/DexMetadataHelperTest.java Bug: 72267410 Change-Id: Ica446b0822be71826d02d01ada015a43d8133c68