summaryrefslogtreecommitdiff
path: root/cmds/pm
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2017-06-15 11:35:38 +0100
committerNarayan Kamath <narayan@google.com>2017-07-06 11:57:36 +0100
commitf9419f0f8524da4980726e06130a80e0fb226763 (patch)
tree25a46090eff09b9f258d5b255464ca8291cbe022 /cmds/pm
parentc276c79e83680c4d14e790ba002c14e4a7dacb49 (diff)
Allow splits to declare a classloader type.
Add an attribute android:classLoader which can be set to the name of the classloader the base or split wishes to use. For now, this can only be set to "dalvik.system.PathClassLoader" or "dalvik.system.DelegateLastClassLoader". The current implementation only allows the classloader to exist in the boot classpath but that restriction can be loosened in a future change if necessary. Test: cts-tradefed run cts-dev -m CtsAppSecurityHostTestCases Bug: 36044779 Change-Id: I5a51f7aa0c8c4c398d2f46129eb06785cc8e3c3f
Diffstat (limited to 'cmds/pm')
-rw-r--r--cmds/pm/src/com/android/commands/pm/Pm.java2
1 files changed, 1 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 ad989dee7b55..f0189c240a85 100644
--- a/cmds/pm/src/com/android/commands/pm/Pm.java
+++ b/cmds/pm/src/com/android/commands/pm/Pm.java
@@ -414,7 +414,7 @@ public final class Pm {
try {
ApkLite baseApk = PackageParser.parseApkLite(file, 0);
PackageLite pkgLite = new PackageLite(null, baseApk, null, null, null, null,
- null, null);
+ null, null, null);
params.sessionParams.setSize(
PackageHelper.calculateInstalledSize(pkgLite, false,
params.sessionParams.abiOverride));