Skip to content

Volume long press is broken on Android TV #2101

@codokie

Description

@codokie

Have you checked if an issue already exists for this bug?

  • Nobody else has reported this bug before

Have you tried restarting your device?

  • I have tried restarting my device and that did not help

What happened that you did not expect?

Long pressing the volume up/down button registers only a single volume level change—the behavior is essentially the same as a short press.

What did you expect to happen?

Long pressing the volume up or down button should continuously change the volume as long as that button is pressed.

What would the developer need to do to reproduce the bug?

  1. Enable the Key Mapper accessibility service
  2. Observe the long press behavior of the volume button

Note that the volume buttons are not mapped by the app (they can’t be detected by it either, but that is a separate issue).

The problem also occurs when any accessibility service is enabled. For some reason, Google have decided that when an accessibility service is being used, then users (with disabilities) would like the volume long press to be the same as a short press.

Other key mapping apps, such as Button Mapper, have a workaround for this issue—they temporarily disable the accessibility service for a few seconds each time a volume change is detected. I believe that feature is essential for proper Android TV support (#121).

App version

4.0.5

Android version

Android TV 10/12/14

Device model and manufacturer

Chromecast with Google TV and other generic streamers

Extra info

  • My device is rooted

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingneeds triagetvIssue specifc to Android TV

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions