summaryrefslogtreecommitdiff
path: root/cmds/pm
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2017-09-21 19:09:30 -0600
committerJeff Sharkey <jsharkey@android.com>2017-09-28 11:32:57 -0600
commitf8bb2445ff28d64d12d81d91539bb419f69e7874 (patch)
treeba730db53688f8bcbe5c5d08614ca27fd3aa820b /cmds/pm
parent1ec536fa4a893c6d2255984fb6bf0fa981c284d5 (diff)
Finish removing ASEC.
Awhile back we explicitly blocked any new ASEC installs, with the expectation that we'd eventually remove the logic entirely. We've had them disabled for about a week now without incident, so let's rip out the remaining code. Test: bit FrameworksCoreTests:android.content.pm.PackageHelperTests Test: bit FrameworksCoreTests:android.content.pm.PackageManagerTests Bug: 32913676 Change-Id: I1ecc35487420731f5c4bdf03bca5751548ce51b3
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 79faa1bf97a2..c5c38f530912 100644
--- a/cmds/pm/src/com/android/commands/pm/Pm.java
+++ b/cmds/pm/src/com/android/commands/pm/Pm.java
@@ -416,7 +416,7 @@ public final class Pm {
PackageLite pkgLite = new PackageLite(null, baseApk, null, null, null, null,
null, null);
params.sessionParams.setSize(
- PackageHelper.calculateInstalledSize(pkgLite, false,
+ PackageHelper.calculateInstalledSize(pkgLite,
params.sessionParams.abiOverride));
} catch (PackageParserException | IOException e) {
System.err.println("Error: Failed to parse APK file: " + e);