diff options
| author | 2016-01-29 09:54:29 -0700 | |
|---|---|---|
| committer | 2016-01-29 11:02:06 -0700 | |
| commit | a9aa24974ee4620b42a0573189b68c9af50926c5 (patch) | |
| tree | 35bcd37c92b520955141c5c8bf9d255eedb0e6fa | |
| parent | 538c11cf2175d4e30337e8776401bfede85866be (diff) | |
Remove "updatecmds" feature.
This feature is very old and hasn't been used in many releases. In
addition, it was never taught about multi-user layouts, and it would
be incredibly hard to maintain in the new FBE world where CE keys
may not appear until several reboots after an OTA.
Bug: 26854442
Change-Id: I3e88d38fde671e41ea9bdd790173d8b93c8a5c12
| -rw-r--r-- | services/core/java/com/android/server/pm/Installer.java | 4 | ||||
| -rw-r--r-- | services/core/java/com/android/server/pm/PackageManagerService.java | 7 |
2 files changed, 0 insertions, 11 deletions
diff --git a/services/core/java/com/android/server/pm/Installer.java b/services/core/java/com/android/server/pm/Installer.java index cf876ee631bf..5d97afaf9793 100644 --- a/services/core/java/com/android/server/pm/Installer.java +++ b/services/core/java/com/android/server/pm/Installer.java @@ -189,10 +189,6 @@ public final class Installer extends SystemService { mInstaller.execute("freecache", uuid, freeStorageSize); } - public void moveFiles() throws InstallerException { - mInstaller.execute("movefiles"); - } - /** * Links the 32 bit native library directory in an application's data * directory to the real location for backward compatibility. Note that no diff --git a/services/core/java/com/android/server/pm/PackageManagerService.java b/services/core/java/com/android/server/pm/PackageManagerService.java index c3f20eb8afe1..1c4176ae41b0 100644 --- a/services/core/java/com/android/server/pm/PackageManagerService.java +++ b/services/core/java/com/android/server/pm/PackageManagerService.java @@ -2175,13 +2175,6 @@ public class PackageManagerService extends IPackageManager.Stub { scanDirTracedLI(oemAppDir, PackageParser.PARSE_IS_SYSTEM | PackageParser.PARSE_IS_SYSTEM_DIR, scanFlags, 0); - if (DEBUG_UPGRADE) Log.v(TAG, "Running installd update commands"); - try { - mInstaller.moveFiles(); - } catch (InstallerException e) { - logCriticalInfo(Log.WARN, "Update commands failed: " + e); - } - // Prune any system packages that no longer exist. final List<String> possiblyDeletedUpdatedSystemApps = new ArrayList<String>(); if (!mOnlyCore) { |