feat: deliver clean avatar home in 0.6.2 UI debug candidate
Keep the avatar mounted while all connection, permission, privacy and diagnostic controls live in a settings sheet. Save the tested continuous-body renderer, safe transition driver and foreground HELLO/permission workflow from this session. Pin runtime03 for the code14 UI-only candidate; mouth deformation remains unresolved. Add source UI contracts, an optional sensor-free device probe, exact asset import and candidate packaging checks. Portrait binaries and diagnostics remain private and untracked.
This commit is contained in:
@@ -44,6 +44,20 @@ fun checkCallControls() {
|
||||
val frame = session.javaClass.getDeclaredMethod("onFrame",DownlinkFrame::class.java).apply { isAccessible=true }
|
||||
frame.invoke(session,DownlinkFrame(11)); activity(PlaybackActivity(11,7,true,960,1920)); Handler.drain()
|
||||
check(AudioPlayback.enqueued == enqueued && states.last().playbackActivity == null)
|
||||
// New automatic UX can reopen a session while preserving mute, without a single
|
||||
// capture start before applying it. Permission pause sends safe stop/abort controls.
|
||||
dialogue.setField("socket",socket); dialogue.setField("ready",true)
|
||||
set("state",VoiceUiState(connection=ConnectionStatus.CONNECTED))
|
||||
val mutedStarts = AudioCapture.starts
|
||||
session.startVoice(microphoneMuted=true)
|
||||
check(states.last().voiceActive && states.last().microphoneMuted && AudioCapture.starts == mutedStarts)
|
||||
session.background(keepConnectionForPermission=true)
|
||||
check(!states.last().voiceActive && states.last().playbackActivity == null)
|
||||
check(socket.sent.takeLast(2).any { it.contains("abort") })
|
||||
session.foreground(connectAutomatically=false)
|
||||
check(!states.last().voiceActive && AudioCapture.starts == mutedStarts)
|
||||
session.resetConnection()
|
||||
check(states.last().connection == ConnectionStatus.DISCONNECTED)
|
||||
session.release(); AudioPlayback.activityFence = null
|
||||
println("PASS: real VoiceSession explicit start/duplicate dial, mute discards queued capture/keeps seq/no restart while answering, audio turn/generation/abort/hangup/late-frame fences")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user