diff options
author | Adam Lesinski <adamlesinski@google.com> | 2017-03-10 14:46:57 -0800 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2017-03-16 15:45:10 -0700 |
commit | 1665d0f028e3a225cb117d3e227bef5c5dace2d4 (patch) | |
tree | 176d355b285d5d210ea8238f2dc59444a1a7964a /cmds | |
parent | f18cec265d471d7b6f3a738bc478b66b149692d7 (diff) |
Add support for configForSplit
Applications with the android:isolatedSplits="true" attribute in
their AndroidManifest.xml would have their Split APKs loaded in
isolation of each other, based on a set of dependencies.
Configuration Splits generated for a Feature split would not be properly
loaded before, so this change, along with a tools change, fixes this
issue and completes support for isolatedSplits.
Bug: 30999713
Test: CTS test coming (depends on some tool changes)
Change-Id: Ia4e7b0e69168a9d6637867558e306f7031720fb3
Diffstat (limited to 'cmds')
-rw-r--r-- | cmds/pm/src/com/android/commands/pm/Pm.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmds/pm/src/com/android/commands/pm/Pm.java b/cmds/pm/src/com/android/commands/pm/Pm.java index 91520f1a7d8e..827a77f24ee9 100644 --- a/cmds/pm/src/com/android/commands/pm/Pm.java +++ b/cmds/pm/src/com/android/commands/pm/Pm.java @@ -411,7 +411,8 @@ public final class Pm { if (file.isFile()) { try { ApkLite baseApk = PackageParser.parseApkLite(file, 0); - PackageLite pkgLite = new PackageLite(null, baseApk, null, null, null, null); + PackageLite pkgLite = new PackageLite(null, baseApk, null, null, null, null, + null, null); params.sessionParams.setSize( PackageHelper.calculateInstalledSize(pkgLite, false, params.sessionParams.abiOverride)); |