diff options
author | Narayan Kamath <narayan@google.com> | 2014-11-26 11:10:48 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-11-26 11:10:48 +0000 |
commit | c9269da26cad88cc4d2fd84607e5245b19b29067 (patch) | |
tree | 44799e54056a4da76b0184800f78ef877c632416 /services/java | |
parent | ab1a53c509edbc8bacd944233335587dffd95999 (diff) | |
parent | edda97c9ffc4fae08744e42fdbf60040e8f97b99 (diff) | |
download | frameworks_base-c9269da26cad88cc4d2fd84607e5245b19b29067.zip frameworks_base-c9269da26cad88cc4d2fd84607e5245b19b29067.tar.gz frameworks_base-c9269da26cad88cc4d2fd84607e5245b19b29067.tar.bz2 |
am edda97c9: am fdbef408: Merge "Start MountService before performBootDexOpt"
* commit 'edda97c9ffc4fae08744e42fdbf60040e8f97b99':
Start MountService before performBootDexOpt
Diffstat (limited to 'services/java')
-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 4e6a8ea..b3a696e 100644 --- a/services/java/com/android/server/SystemServer.java +++ b/services/java/com/android/server/SystemServer.java @@ -549,20 +549,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"))) { @@ -578,7 +564,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"); |