Skip to content

Conversation

@naveensingh
Copy link
Member

@naveensingh naveensingh commented Nov 8, 2025

Type of change(s)

  • Bug fix
  • Feature / enhancement
  • Infrastructure / tooling (CI, build, deps, tests)
  • Documentation

What changed and why

  • Removed the dedicated player thread.
  • Minor readability improvement in TrackActivity.

Tests performed

  • Tested playback with 10000 items

Closes the following issue(s)

Checklist

  • I read the contribution guidelines.
  • I manually tested my changes on device/emulator (if applicable).
  • I updated the "Unreleased" section in CHANGELOG.md (if applicable).
  • I have self-reviewed my pull request (no typos, formatting errors, etc.).
  • All checks are passing.

Removed the dedicated player thread. All player operations are now delegated to the application's main looper, as recommended by the official ExoPlayer documentation.

Refs: #298, androidx/media#2884
@naveensingh naveensingh merged commit 9e87966 into main Nov 8, 2025
8 checks passed
@naveensingh naveensingh deleted the naveensingh/switch-to-main-thread branch November 8, 2025 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Playback stops and app crashes when cleared from recents

2 participants