am 1586b9c3: Start MountService before performBootDexOpt
* commit '1586b9c33ed8429b8dbbe15ce3316a2d1a73977a': Start MountService before performBootDexOpt
This commit is contained in:
@@ -547,20 +547,6 @@ public final class SystemServer {
|
|||||||
reportWtf("making display ready", e);
|
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 (mFactoryTestMode != FactoryTest.FACTORY_TEST_LOW_LEVEL) {
|
||||||
if (!disableStorage &&
|
if (!disableStorage &&
|
||||||
!"0".equals(SystemProperties.get("system_init.startmountservice"))) {
|
!"0".equals(SystemProperties.get("system_init.startmountservice"))) {
|
||||||
@@ -576,7 +562,23 @@ public final class SystemServer {
|
|||||||
reportWtf("starting Mount Service", e);
|
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) {
|
if (!disableNonCoreServices) {
|
||||||
try {
|
try {
|
||||||
Slog.i(TAG, "LockSettingsService");
|
Slog.i(TAG, "LockSettingsService");
|
||||||
|
|||||||
Reference in New Issue
Block a user