Skip to content

Quest and capture fixes - #19

Open
kilrah wants to merge 3 commits into
daitj:mainfrom
kilrah:quest-fixes
Open

kilrah wants to merge 3 commits into
daitj:mainfrom
kilrah:quest-fixes

Conversation

@kilrah

@kilrah kilrah commented Dec 1, 2026

Copy link
Copy Markdown
  • Add new capture method that works on android 15+
  • Warn in case remote control is refused by the remote device
  • Add a global setting to enable/disable floating window functionality, default off, current Quest 3 firmware doesn't work with them and leaves you stuck unable to exit the app

Made using claude.

kilrah and others added 3 commits November 19, 2026 16:00
SurfaceControl.createDisplay(String, boolean) was removed in Android 15,
so the server crashed on startup with NoSuchMethodException. Fall back to
a mirroring VirtualDisplay created through the hidden static
DisplayManager.createVirtualDisplay(name, w, h, displayIdToMirror, surface)
(the approach scrcpy uses), recreated whenever the encoder restarts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Floating windows:
- New global "Floating windows" setting, off by default. While off, the
  app never uses overlay windows and never needs SYSTEM_ALERT_WINDOW:
  devices always open fullscreen, the fullscreen view stays put when it
  loses focus instead of switching to a floating window, and the
  small/mini/app buttons are hidden.
- Closing the fullscreen view from the system (e.g. Horizon OS panel close)
  ends the session instead of leaving it running without a window.
- Enabling the setting requests the overlay permission; where no settings
  page exists (e.g. Meta Horizon OS) a toast explains how to grant it via adb.

Blocked input:
- The server reports the first SecurityException from input injection
  (e.g. Xiaomi/HyperOS without "USB debugging (Security settings)") with a
  new main-stream event (4).
- The client shows the explanation as a dialog in the fullscreen view,
  since Horizon OS does not display toasts over it, or as a toast otherwise.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Release builds fall back to the debug signing key when keystore.properties
is absent. The version bump also changes the server jar name, so clients
push the updated server to devices.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant