Skip to content

feat(android): add Thor audio field diagnostics#146

Draft
papi-ux wants to merge 1 commit into
masterfrom
fix/v1.3.2-thor-field-groundwork
Draft

feat(android): add Thor audio field diagnostics#146
papi-ux wants to merge 1 commit into
masterfrom
fix/v1.3.2-thor-field-groundwork

Conversation

@papi-ux

@papi-ux papi-ux commented Jul 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • keep the Game activity explicitly placed on the selected Android stream display, including launches that originate on the companion display
  • preserve the Game-owned Presentation for companion controls and add explicit privacy-safe Game/companion focus telemetry
  • add a fail-closed Nova-PID-scoped analyzer plus a 5x top-origin / 5x bottom-origin Thor field protocol

Context

Related to #127.

The reporter's close/reopen behavior and Presentation experiment point to competing Activity/focus ownership rather than an AudioTrack session ID selecting a physical panel. The companion telemetry reports the owning Game activity's state as game_top_resumed; it does not claim that a Presentation can become top-resumed.

This PR does not claim the physical Thor audio bug is fixed. No physical Thor was available, and physical_audio_verified intentionally remains false until the hardware matrix passes.

Verification

  • Root unit tests: 815 passed, 0 failed
  • NonRoot_game unit tests: 809 passed, 0 failed
  • focused dual-display/JVM/source guards: 39 passed, 0 failed
  • analyzer tests: 15 passed, 0 failed
  • analyzer mutants: 8/8 caught
  • Android wiring mutants: 6/6 caught
  • Root and NonRoot lint: passed
  • Root and NonRoot debug builds: passed
  • clean-room replay from f99ffa72e47de9971775fd78d7079bf83d2748c6: byte-identical and green
  • immutable reviewed patch SHA-256: dfc8e4794a5a9ed1fd873edd8c6aee90923718d34660f5e4313b43878fbd972c
  • API 37 x86_64 dual-display emulator: displays 0 and 2 present; exact APK install/launch and pullback hash passed; no focused crash/ANR/window markers; no Game stream or Presentation was exercised

Physical hardware gate

  • 5 clean launches from Thor top display, stream target Largest
  • 5 clean launches from Thor bottom display, stream target Largest
  • playback follows the top/stream display in every run
  • physical volume controls and AYN per-display slider follow the top/stream display
  • closing and notification-reopening companion controls preserves ownership
  • privacy-safe analyzer JSON is clean for every run
  • optional hot-remove/re-add preserves the stream and reopens controls on the new companion display ID

Field APK SHA-256: 92a77e85e16e7fb7749ff0d8cc79ede8fd738f5ab02a542bc327f8c72995d6b2

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