summaryrefslogtreecommitdiff
path: root/com/android/server/SystemServer.java
diff options
context:
space:
mode:
Diffstat (limited to 'com/android/server/SystemServer.java')
-rw-r--r--com/android/server/SystemServer.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/com/android/server/SystemServer.java b/com/android/server/SystemServer.java
index 49dd5285..92cbd3d5 100644
--- a/com/android/server/SystemServer.java
+++ b/com/android/server/SystemServer.java
@@ -125,7 +125,6 @@ import java.util.Timer;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.Future;
-import static android.os.IServiceManager.DUMP_PRIORITY_CRITICAL;
import static android.view.Display.DEFAULT_DISPLAY;
public final class SystemServer {
@@ -825,8 +824,7 @@ public final class SystemServer {
wm = WindowManagerService.main(context, inputManager,
mFactoryTestMode != FactoryTest.FACTORY_TEST_LOW_LEVEL,
!mFirstBoot, mOnlyCore, new PhoneWindowManager());
- ServiceManager.addService(Context.WINDOW_SERVICE, wm, /* allowIsolated= */ false,
- DUMP_PRIORITY_CRITICAL);
+ ServiceManager.addService(Context.WINDOW_SERVICE, wm);
ServiceManager.addService(Context.INPUT_SERVICE, inputManager);
traceEnd();
@@ -1642,7 +1640,11 @@ public final class SystemServer {
traceEnd();
traceBeginAndSlog("MakePackageManagerServiceReady");
- mPackageManagerService.systemReady();
+ try {
+ mPackageManagerService.systemReady();
+ } catch (Throwable e) {
+ reportWtf("making Package Manager Service ready", e);
+ }
traceEnd();
traceBeginAndSlog("MakeDisplayManagerServiceReady");