mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-19 21:06:09 +00:00
fix: handle unavailable Quest sessions safely
This commit is contained in:
1 parent
7277386cd3
commit
db0c32c72f
2 files changed
-3
No files matched your search
@@ -16,7 +16,6 @@ class QuestXrActivity : NativeActivity() {
|
|||||||
@Volatile private var steamVrStatus = SteamVr.Status.UNAVAILABLE
|
@Volatile private var steamVrStatus = SteamVr.Status.UNAVAILABLE
|
||||||
override fun onCreate(savedInstanceState: Bundle?) {
|
override fun onCreate(savedInstanceState: Bundle?) {
|
||||||
if (intent.getBooleanExtra("guest_surface", false)) {
|
if (intent.getBooleanExtra("guest_surface", false)) {
|
||||||
require(CompositorHost.isStarted) { "Start a DroidDeck session before attaching XR" }
|
|
||||||
intent.putExtra("surface_test", true)
|
intent.putExtra("surface_test", true)
|
||||||
SessionService.resume(this)
|
SessionService.resume(this)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -97,8 +97,6 @@ Steam is signed out and both Touch controllers remain inactive. These block
|
|||||||
guest command diagnostics and actual game/controller/haptic validation, but do
|
guest command diagnostics and actual game/controller/haptic validation, but do
|
||||||
not block native rendering or independent engineering. No guard was bypassed.
|
not block native rendering or independent engineering. No guard was bypassed.
|
||||||
|
|
||||||
## Remaining stages
|
|
||||||
|
|
||||||
## Milestone 4: full build and deployment
|
## Milestone 4: full build and deployment
|
||||||
|
|
||||||
Full CI run 38641552327 passed at `e1d09612`, including APK compilation, tracking
|
Full CI run 38641552327 passed at `e1d09612`, including APK compilation, tracking
|
||||||
|
|||||||
Reference in new issue
Block a user