androidx / androidx/media

Playback resumption not triggered with `KEY_EVENT_PLAY_PAUSE`

Open
#493 5 comments 3 reactions 1 assignee View on GitHub

@marcbaechinger is already working on this.

Since Jun 30, 2023.

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

Description

Media3 Version

Media3 1.1.0-alpha01

Devices that reproduce the issue

Devices on which playback resumption results in a KEY_EVENT_PLAY_PAUSE (or devices with a BT device that sends this?).

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Yes

Reproduction steps

Enable playback resumption, start playback and terminate the app.

Then trigger playback resumption that results in a KEY_EVENT_PLAY_PAUSE.

Expected result

Playback resumption is triggered (Callback.onPlaybackResumption()).

Actual result

Only player.prepare/play is called instead

See stack trace screenshot in 27

Media

All media

Bug Report
  • You will email the zip file produced by adb bugreport to dev.exoplayer@gmail.com after filing this issue.

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.