summaryrefslogtreecommitdiff
path: root/cmds
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2017-03-10 14:46:57 -0800
committerAdam Lesinski <adamlesinski@google.com>2017-03-16 15:45:10 -0700
commit1665d0f028e3a225cb117d3e227bef5c5dace2d4 (patch)
tree176d355b285d5d210ea8238f2dc59444a1a7964a /cmds
parentf18cec265d471d7b6f3a738bc478b66b149692d7 (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.java3
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));