Repository navigation
Tags
Tags
Stop feed previews showing through fullscreen video A video card's inline preview kept playing under the video player when it was opened from its mini bar, since only a tap on a card released it. Its SurfaceView sits behind the window beside fullscreen's, so on some devices it was layered above the picture. Previews now pause while a player covers the feed, and draw in a TextureView. Changelog: - Fixed a video preview from the feed sometimes appearing on top of a video playing in fullscreen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Load video history and playlists a page at a time The previous pagination fix made the video Library follow every continuation of an account's watch history and playlists just to open. On a long history that walk ran the process out of memory: September 2026 emulator logs record an OutOfMemoryError at a 192 MB heap limit inside the eager getWatchHistory loop. getWatchHistoryPage and getPlaylistVideosPage now fetch one page per call. The Library root shows a preview from the first history page, and only the History and playlist detail screens advance the cursor when scrolled to the end. DemandPagination owns that cursor on the main thread: it refuses a second request while one is in flight, drops responses that arrive after a refresh, a playlist change or a profile switch, and stops on a repeated cursor. A failed page keeps its cursor and the rows already loaded and waits for an explicit retry instead of scheduling another request on its own. Library item counts and playlist count badges are gone, because loaded rows are not account totals. A partly loaded playlist can no longer read as fully available offline, and a full playlist download still resolves the whole list through the complete loader once the user asks for it. Every history page is deduplicated, including the first, since the history list is keyed by video id. Changelog: - Fixed the app crashing when opening the video Library on accounts with a long watch history. - Watch history, Watch Later, Liked videos and other video playlists now load more as you scroll to the bottom, with a retry button if a page fails to load. - The video Library no longer shows video and playlist counts, which could be wrong for partly loaded lists.
PreviousNext