mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-11-27 20:36:31 -08:00
Revert "Move registry into a module, preparing for extensions"
This reverts commit a371af75fa.
This commit is contained in:
1 parent
963b6f640c
commit
f8e126efdd
94 files changed
+147
-351
No files matched your search
@@ -27,7 +27,6 @@ import dev.slimevr.android.serial.createAndroidSerialServer
|
||||
import dev.slimevr.android.timing.createAndroidWaiter
|
||||
import dev.slimevr.android.udp.resolveAndroidUdpAddress
|
||||
import dev.slimevr.android.vrchat.resolveAndroidLocalIpAddress
|
||||
import dev.slimevr.bones.BoneRegistryManager
|
||||
import dev.slimevr.bvh.BVHManager
|
||||
import dev.slimevr.config.AppConfig
|
||||
import dev.slimevr.firmware.FirmwareManager
|
||||
@@ -151,12 +150,8 @@ class ForegroundService : Service() {
|
||||
val config = AppConfig.create(scope = scope, storage = storage)
|
||||
val server = VRServer.create(scope = scope)
|
||||
val serialServer = createAndroidSerialServer(context = this, scope = scope)
|
||||
val bones = BoneRegistryManager.create(scope = scope)
|
||||
// Nothing registers extension bones yet, so this is a no-op today; it exists so the
|
||||
// tracking stack below never observes a registry that could still change under it.
|
||||
bones.freeze()
|
||||
|
||||
val phase1 = Phase1Context(server = server, config = config, serialServer = serialServer, bones = bones)
|
||||
val phase1 = Phase1Context(server = server, config = config, serialServer = serialServer)
|
||||
|
||||
val firmwareManager = FirmwareManager.create(ctx = phase1, scope = scope, flasher = AndroidFirmwareFlasher)
|
||||
val networkProfileManager = NetworkProfileManager.create(scope = scope, isSupported = false)
|
||||
@@ -183,7 +178,6 @@ class ForegroundService : Service() {
|
||||
server = server,
|
||||
config = config,
|
||||
serialServer = serialServer,
|
||||
bones = bones,
|
||||
serverInfos = serverInfos,
|
||||
featureFlags = FeatureFlags(
|
||||
skipCheckUdev = true,
|
||||
|
||||
Reference in new issue
Block a user