Eliminating Conflicts Between Lock Screen Controls and Reels Playback
Redefined the responsibility boundaries of the lock screen remote control, reels video, and audio session components to ensure consistent playback state across all surfaces.
An inconsistency was identified where lock screen playback metadata fell out of sync with the actual playback state during rapid reel swiping. When user swipe events and system metadata updates overlapped in timing, the displayed state no longer reflected reality. Playback itself was uninterrupted, but the UI persistently surfaced incorrect state.
The resolution focused on responsibility separation rather than adding new logic. Metadata updates to the lock screen are suspended while reels occupy the foreground and resume upon exit. Video controllers were refactored to use reference counting, ensuring loop continuity and preventing off-screen controllers from retaining resources. The reverb and effects chain was also aligned to operate without conflict on the shared playback path.
The preview list and splash entry flow were refined in parallel. A fade was applied to list edges to smooth scroll transitions, and the initial video loading sequence was simplified to reduce entry latency. Narrowing the responsibility of each component produced a measurable improvement in perceived playback stability.