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

Commit 796e84dc authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Start MountService before performBootDexOpt"

parents e66be80c 00a74cd4
Loading
Loading
Loading
Loading
+16 −14
Original line number Diff line number Diff line
@@ -557,20 +557,6 @@ public final class SystemServer {
            reportWtf("making display ready", e);
        }

        try {
            mPackageManagerService.performBootDexOpt();
        } catch (Throwable e) {
            reportWtf("performing boot dexopt", e);
        }

        try {
            ActivityManagerNative.getDefault().showBootMessage(
                    context.getResources().getText(
                            com.android.internal.R.string.android_upgrading_starting_apps),
                    false);
        } catch (RemoteException e) {
        }

        if (mFactoryTestMode != FactoryTest.FACTORY_TEST_LOW_LEVEL) {
            if (!disableStorage &&
                !"0".equals(SystemProperties.get("system_init.startmountservice"))) {
@@ -586,7 +572,23 @@ public final class SystemServer {
                    reportWtf("starting Mount Service", e);
                }
            }
        }

        try {
            mPackageManagerService.performBootDexOpt();
        } catch (Throwable e) {
            reportWtf("performing boot dexopt", e);
        }

        try {
            ActivityManagerNative.getDefault().showBootMessage(
                    context.getResources().getText(
                            com.android.internal.R.string.android_upgrading_starting_apps),
                    false);
        } catch (RemoteException e) {
        }

        if (mFactoryTestMode != FactoryTest.FACTORY_TEST_LOW_LEVEL) {
            if (!disableNonCoreServices) {
                try {
                    Slog.i(TAG,  "LockSettingsService");