Skip to content

fix: resume after screen off, DeArrow frames, gapless songs, shuffle and repeat on the card - #1359

Merged
A-EDev merged 17 commits into
mainfrom
fix/resume-dearrow-gapless-media-buttons
Oct 19, 2026
Merged

A-EDev merged 17 commits into
mainfrom
fix/resume-dearrow-gapless-media-buttons

Conversation

@A-EDev

@A-EDev A-EDev commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator

Summary

Related issue

Closes #1337
Closes #1344
Closes #1345
Closes #1347

Change type

  • Bug fix
  • Feature
  • Refactor or maintenance
  • Build, packaging, or CI
  • Documentation

Validation

  • ./gradlew :app:assembleGithubDebug
  • ./gradlew :app:testGithubDebugUnitTest
  • I ran any additional flavor-specific build or test tasks affected by this change.
  • I manually tested the affected behavior on an Android device or emulator.

Ran the CI steps in order: spotlessCheck, :app:testGithubDebugUnitTest :app:testFossDebugUnitTest (8,369 tests, 0 failures), :app:compileGithubDebugAndroidTestKotlin, :app:lintGithubNightly, :app:assembleGithubRelease :app:assembleGithubNightly :app:assembleFossRelease. All pass.

On the device: paused video locked for 3 minutes resumes with no codec error; the media card shows shuffle and repeat, and card shuffle reorders the in-app queue; the next song starts where the previous one ended with no seek; video notification repeat cycles off, this video, off; media keys pause the video.

Test device and Android version: POCO X6 Pro (2311DRK48G), HyperOS, Android 16

Screenshots or recordings

Risk and compatibility

Playback: surface attach order, a single in-place re-prepare on video decoder errors, and the music shuffle path now run through ExoPlayer's shuffle flag with the manager doing the reorder. Shuffle state is still saved with the queue. Network: DeArrow lookups are cached for an hour (404 answers included) and capped at 4 at a time. New preference dearrow_random_frame, default on.

  • The change does not introduce secrets, private data, or unexpected telemetry.
  • New user-facing text uses Android string resources.
  • Dependency and lockfile changes are intentional and limited to this PR.
  • Room schema changes include the required version bump and migration, or this PR does not change the Room schema.
  • Breaking changes and upgrade steps are clearly documented.

A-EDev added 17 commits October 19, 2026 21:50
Copilot AI balanced review requested due to automatic review settings October 19, 2026 19:35

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@github-actions github-actions Bot added player Video and audio playback ui Compose UI, theming, or Material 3 surfaces labels Oct 19, 2026
@A-EDev
A-EDev merged commit 999528e into main Oct 19, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

player Video and audio playback ui Compose UI, theming, or Material 3 surfaces

Projects

None yet

2 participants