summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2018-09-18 17:39:59 -0700
committer android-build-merger <android-build-merger@google.com> 2018-09-18 17:39:59 -0700
commitb030bf0f944f99876f9dbaecbd9c72795086294c (patch)
treeaaffe10c67f0f6c8315577265ba1b4cea7c877e8
parent805f4e7799a2eda9c35eae7246a4f03762b17079 (diff)
parent188615ead697a9460317702e8d49e866e65758d9 (diff)
OTA Dexopt: Remove old '&' path am: c260c96b5c
am: 188615ead6 Change-Id: Ic1fc2bc455d2f4fdb82562b9f1c5771271afac76
-rw-r--r--services/core/java/com/android/server/pm/OtaDexoptService.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/services/core/java/com/android/server/pm/OtaDexoptService.java b/services/core/java/com/android/server/pm/OtaDexoptService.java
index 77ef63dd5aad..3fe47c43b5dd 100644
--- a/services/core/java/com/android/server/pm/OtaDexoptService.java
+++ b/services/core/java/com/android/server/pm/OtaDexoptService.java
@@ -53,10 +53,6 @@ public class OtaDexoptService extends IOtaDexopt.Stub {
private final static String TAG = "OTADexopt";
private final static boolean DEBUG_DEXOPT = true;
- // The synthetic library dependencies denoting "no checks."
- private final static String[] NO_LIBRARIES =
- new String[] { PackageDexOptimizer.SKIP_SHARED_LIBRARY_CHECK };
-
// The amount of "available" (free - low threshold) space necessary at the start of an OTA to
// not bulk-delete unused apps' odex files.
private final static long BULK_DELETE_THRESHOLD = 1024 * 1024 * 1024; // 1GB.
@@ -338,11 +334,6 @@ public class OtaDexoptService extends IOtaDexopt.Stub {
collectingInstaller, mPackageManagerService.mInstallLock, mContext);
String[] libraryDependencies = pkg.usesLibraryFiles;
- if (pkg.isSystem()) {
- // For system apps, we want to avoid classpaths checks.
- libraryDependencies = NO_LIBRARIES;
- }
-
optimizer.performDexOpt(pkg, libraryDependencies,
null /* ISAs */,