Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Android] implement MediaSession::onMediaButtonEvent #15675

merged 1 commit into from Mar 5, 2019


None yet
1 participant
Copy link

commented Mar 5, 2019


This replaces the logic of translating MediaSession events to keypresses introduced here:

Android provides the possibility to override the MediaKey keypresses before they are handled in MediaSession. This is required to get up / down state and timings between these two states.

Motivation and Context

Issues reported here: #15003

How Has This Been Tested?

  • Play a movie
  • Press a MediaKey on remote ( forward / rewind).

Types of change

  • Bug fix (non-breaking change which fixes an issue)
  • Clean up (non-breaking change which removes non-working, unmaintained functionality)
  • Improvement (non-breaking change which improves existing functionality)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that will cause existing functionality to change)
  • Cosmetic change (non-breaking change that doesn't touch code)
  • None of the above (please explain below)

@peak3d peak3d added this to the Leia 18.2-rc1 milestone Mar 5, 2019

@peak3d peak3d merged commit 4de5972 into xbmc:master Mar 5, 2019

1 check passed

default You're awesome. Have a cookie

@peak3d peak3d deleted the peak3d:mediasession branch Mar 5, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.