Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a9aa2497 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

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
parent 538c11cf
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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
+0 −7
Original line number Diff line number Diff line
@@ -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) {