Refine TV player inline playlist flow

Move the TV player queue into a simplified bottom inline playlist row and keep the existing seek bar -> controls -> playlist navigation hierarchy.

Focus playlist entry on the current queue item, keep focus pinned on the row at the horizontal edges, and return to the controls row on Up/Back.

Add compose coverage for playlist expansion, current-item focus, fallback focus, and row edge navigation.
This commit is contained in:
2026-04-09 18:21:49 +02:00
parent 54e79d8bee
commit d007c80af7
6 changed files with 633 additions and 151 deletions

View File

@@ -203,7 +203,11 @@ class PlayerViewModel @Inject constructor(
fun toggleControlsVisibility() {
_controlsVisible.value = !_controlsVisible.value
if (_controlsVisible.value) scheduleAutoHide(DEFAULT_CONTROLS_AUTO_HIDE_MS)
if (_controlsVisible.value) {
scheduleAutoHide(DEFAULT_CONTROLS_AUTO_HIDE_MS)
} else {
autoHideJob?.cancel()
}
}
private fun scheduleAutoHide(autoHideDelayMs: Long) {