androidx / androidx/media

Playback Resumption with external applications

Open
#1,064 2 comments 0 reactions 1 assignee View on GitHub

@marcbaechinger is already working on this.

Since Feb 5, 2024.

question
Dominant language
Java
Stars
3k
Forks
955
Avg merge
12d 14h
Merged PRs (30d)
2

Description

On my audiobook player I received this PR which would cause all onConnect commands which do not come from my package to prepare the last played book.

https://github.com/PaulWoitaschek/Voice/pull/2280

Previously it was already a little hacky because onGetSessionwas invoking the isReleased using reflection, see https://github.com/androidx/media/issues/422

I wonder if the proposed PR is really the intended solution with media3 to support playback resumption coming from external applications.
Could you give some guideance (and even better: Write some documentation) how this is designed to work?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.