androidx / androidx/media

Useless seek-forward and back buttons appear in Auto/Automotive controls

Open
#2,782 1 comment 0 reactions 1 assignee View on GitHub

@marcbaechinger is already working on this.

Since Sep 17, 2025.

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

Description

Version

Media3 1.8.0

More version details

This is an apparent bug in Auto/ Automotive. We recently updated the following libraries from 1.5.1 to 1.8.0:

media3-common = { module = "androidx.media3:media3-common", version.ref = "androidxMedia3" }
media3-mediasession = { module = "androidx.media3:media3-session", version.ref = "androidxMedia3" }
media3-exoplayer = { module = "androidx.media3:media3-exoplayer", version.ref = "androidxMedia3" }
media3-ui = { module = "androidx.media3:media3-ui", version.ref = "androidxMedia3" }
media3-hls = { module = "androidx.media3:media3-exoplayer-hls", version.ref = "androidxMedia3" }
media3-cast = { module = "androidx.media3:media3-cast", version.ref = "androidxMedia3" }
media3-okhttp = { module = "androidx.media3:media3-datasource-okhttp", version.ref = "androidxMedia3" }

where androidxMedia3 is now set to 1.8.0

Since doing this, two extra useless buttons have appeared in the player controls. Their inclusion pushes our configured buttons onto the overflow screen (see attached image).
I have aggressively hacked the code to try to find a way to remove them including modifying onConnect and getAvailableCommands but they keep appearing.

How do I get rid of them?

BEFORE (1.5.1)
Image

AFTER (1.8.0)
Image

Devices that reproduce the issue

Appning emulator using Appning Arm64 AAOS, API 34
Automotive emulator (1408p landscape) with Google Play API 34-ext9
Android Auto - Desktop Head Unit (buttons are displaced by empty space)

Devices that do not reproduce the issue

Unknown. Everything I have access to is listed above.

Reproducible in the demo app?

Not tested

Reproduction steps

If you have seek-forward and seek-back (I assume that's what those buttons are) in the demo app, try to configure them out.

Expected result

You can make them disappear completely and the other controls shuffle in to fill the space.

Actual result

The buttons remain but are greyed-out.

Media

https://media-ice.musicradio.com/Capital

Bug Report
  • You will email the zip file produced by adb bugreport to android-media-github@google.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.