androidx / androidx/media

The first pause key press on a bluetooth headset isn't handled correctly

Open
#159 7 comments 0 reactions 1 assignee View on GitHub

@marcbaechinger is already working on this.

Since Aug 31, 2022.

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

Description

Media3 Version

1.0.0-beta02

Devices that reproduce the issue

Samsung Galaxy Note 9 with Android 10, Soundcore Spirit BT Headset

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Yes

Reproduction steps
  1. Start a song in the Session Demo app
  2. send app to background
  3. stop playback and dismiss notification
  4. press start/pause on BT Headset - playback starts
  5. press start/pause on BT Headset - nothing happens
  6. press start/pause on BT Headset - playback pauses
Expected result

Playback should pause when pressing the play/pause button for the first time on the BT headset

Actual result

Playback only pauses when pressing the play/pause button twice on the BT headset

Media

Any media from the session demo app

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.