diff options
| author | 2014-11-25 23:43:19 +0000 | |
|---|---|---|
| committer | 2014-11-25 23:43:19 +0000 | |
| commit | ddd9c2b97d5a388074ed84c82b41f99ed15ad010 (patch) | |
| tree | 3e9a57e4b025c0f7f1b71d18f665c9ad9fbb27c4 | |
| parent | 65e51fcda25c33cdfa73e8ca3a4f71cf987bd0d2 (diff) | |
| parent | 1586b9c33ed8429b8dbbe15ce3316a2d1a73977a (diff) | |
am 1586b9c3: Start MountService before performBootDexOpt
* commit '1586b9c33ed8429b8dbbe15ce3316a2d1a73977a':
Start MountService before performBootDexOpt
| -rw-r--r-- | services/java/com/android/server/SystemServer.java | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java index 6009ffdcae61..21dc63e88134 100644 --- a/services/java/com/android/server/SystemServer.java +++ b/services/java/com/android/server/SystemServer.java @@ -547,20 +547,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"))) { @@ -576,7 +562,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"); |