diff options
author | Ruben Brunk <rubenbrunk@google.com> | 2015-12-18 19:50:24 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-12-18 19:50:24 +0000 |
commit | 55bed957788e853d3ee3f674dd6eea79ad3a193b (patch) | |
tree | 1d9b968bbe157df2c2c3abba2b4d2f96f4b996ac /services/java/com/android/server/SystemServer.java | |
parent | 1d0d4d3c6e746d7dbe11a1ba77638ce44e7c8ddf (diff) | |
parent | dd18a0b69537954d1cc34929a1386deb54f12b14 (diff) |
Merge "Add a framework service tracking VR mode state."
Diffstat (limited to 'services/java/com/android/server/SystemServer.java')
-rw-r--r-- | services/java/com/android/server/SystemServer.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java index fb5f21ab9ca6..3db8376e5fca 100644 --- a/services/java/com/android/server/SystemServer.java +++ b/services/java/com/android/server/SystemServer.java @@ -89,14 +89,13 @@ import com.android.server.trust.TrustManagerService; import com.android.server.tv.TvInputManagerService; import com.android.server.twilight.TwilightService; import com.android.server.usage.UsageStatsService; -import com.android.server.usb.UsbService; +import com.android.server.vr.VrManagerService; import com.android.server.wallpaper.WallpaperManagerService; import com.android.server.webkit.WebViewUpdateService; import com.android.server.wm.WindowManagerService; import dalvik.system.VMRuntime; -import java.io.File; import java.util.Locale; import java.util.Timer; import java.util.TimerTask; @@ -447,6 +446,7 @@ public final class SystemServer { ConsumerIrService consumerIr = null; MmsServiceBroker mmsService = null; EntropyMixer entropyMixer = null; + VrManagerService vrManagerService = null; boolean disableStorage = SystemProperties.getBoolean("config.disable_storage", false); boolean disableBluetooth = SystemProperties.getBoolean("config.disable_bluetooth", false); @@ -532,6 +532,10 @@ public final class SystemServer { ServiceManager.addService(Context.INPUT_SERVICE, inputManager); Trace.traceEnd(Trace.TRACE_TAG_SYSTEM_SERVER); + traceBeginAndSlog("StartVrManagerService"); + mSystemServiceManager.startService(VrManagerService.class); + Trace.traceEnd(Trace.TRACE_TAG_SYSTEM_SERVER); + mActivityManagerService.setWindowManager(wm); inputManager.setWindowManagerCallbacks(wm.getInputMonitor()); |