Loading services/java/com/android/server/SystemServer.java +9 −9 Original line number Diff line number Diff line Loading @@ -619,7 +619,6 @@ public final class SystemServer { startSensorService(); traceLog.traceEnd(); }, START_SENSOR_SERVICE); } /** Loading Loading @@ -647,14 +646,6 @@ public final class SystemServer { traceBeginAndSlog("StartWebViewUpdateService"); mWebViewUpdateService = mSystemServiceManager.startService(WebViewUpdateService.class); traceEnd(); // Start receiving calls from HIDL services. Start in in a separate thread // because it need to connect to SensorManager. SystemServerInitThreadPool.get().submit(() -> { traceBeginAndSlog(START_HIDL_SERVICES); startHidlServices(); traceEnd(); }, START_HIDL_SERVICES); } /** Loading Loading @@ -813,6 +804,15 @@ public final class SystemServer { ServiceManager.addService(Context.INPUT_SERVICE, inputManager); traceEnd(); // Start receiving calls from HIDL services. Start in in a separate thread // because it need to connect to SensorManager. This have to start // after START_SENSOR_SERVICE is done. SystemServerInitThreadPool.get().submit(() -> { traceBeginAndSlog(START_HIDL_SERVICES); startHidlServices(); traceEnd(); }, START_HIDL_SERVICES); if (!disableVrManager) { traceBeginAndSlog("StartVrManagerService"); mSystemServiceManager.startService(VrManagerService.class); Loading Loading
services/java/com/android/server/SystemServer.java +9 −9 Original line number Diff line number Diff line Loading @@ -619,7 +619,6 @@ public final class SystemServer { startSensorService(); traceLog.traceEnd(); }, START_SENSOR_SERVICE); } /** Loading Loading @@ -647,14 +646,6 @@ public final class SystemServer { traceBeginAndSlog("StartWebViewUpdateService"); mWebViewUpdateService = mSystemServiceManager.startService(WebViewUpdateService.class); traceEnd(); // Start receiving calls from HIDL services. Start in in a separate thread // because it need to connect to SensorManager. SystemServerInitThreadPool.get().submit(() -> { traceBeginAndSlog(START_HIDL_SERVICES); startHidlServices(); traceEnd(); }, START_HIDL_SERVICES); } /** Loading Loading @@ -813,6 +804,15 @@ public final class SystemServer { ServiceManager.addService(Context.INPUT_SERVICE, inputManager); traceEnd(); // Start receiving calls from HIDL services. Start in in a separate thread // because it need to connect to SensorManager. This have to start // after START_SENSOR_SERVICE is done. SystemServerInitThreadPool.get().submit(() -> { traceBeginAndSlog(START_HIDL_SERVICES); startHidlServices(); traceEnd(); }, START_HIDL_SERVICES); if (!disableVrManager) { traceBeginAndSlog("StartVrManagerService"); mSystemServiceManager.startService(VrManagerService.class); Loading