From 13744f9955bd099085a4dc85f886c20b29ec660c Mon Sep 17 00:00:00 2001 From: Joshua Higgins Date: Sun, 1 Nov 2026 18:50:28 -0500 Subject: [PATCH] fix(mobile): activate restored queues without resuming playback --- apps/mobile/contexts/playback.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/apps/mobile/contexts/playback.tsx b/apps/mobile/contexts/playback.tsx index ecdae5a..c9e430f 100644 --- a/apps/mobile/contexts/playback.tsx +++ b/apps/mobile/contexts/playback.tsx @@ -2,6 +2,7 @@ import { dolbyAtmosSupported } from "@/lib/playback-capabilities" import { createAudioPlaylist, setAudioModeAsync, + setIsAudioActiveAsync, type AudioMetadata, type AudioPlaylist, type AudioPlaylistStatus, @@ -774,6 +775,14 @@ export function PlaybackProvider({ children }: { children: ReactNode }) { playlist.play() } else { playlist.pause() + // Enable audio for the restored queue without starting playback. + try { + await setIsAudioActiveAsync(true) + } catch { + if (isCurrentLoad()) { + showError("Audio playback could not be initialized.") + } + } } }