Repository navigation
Add Fire OS voice command permission for MediaSession - #2076
Merged
damontecres merged 2 commits intoOct 26, 2026
Merged
Conversation
Fire OS versions before 14 require the com.amazon.permission.media.session.voicecommandcontrol permission for Alexa voice commands (e.g. "Alexa, pause", "Alexa, play") to be routed to the app's MediaSession. Without it, "Alexa, play" did not work and "Alexa, pause" only took effect after a long delay on a Fire TV Cube. See https://developer.amazon.com/docs/fire-tv/mediasession-api-integration.html Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
damontecres
approved these changes
Oct 26, 2026
damontecres
left a comment
Owner
There was a problem hiding this comment.
Thanks for the contribution! Looks good
I added a change to the play store manifest to remove the permission since it's not needed there. And while double checking the manifests, I found that the fire tv store manifest still requests the install permissions, so I've removed that (and kept the new voice permission of course).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Just a small change to AndroidManifest.xml so that Alexa voice commands work in Wholphin.
"To enable voice command and control to work with your application, add the permission com.amazon.permission.media.session.voicecommandcontrol to your application manifest"
See https://developer.amazon.com/docs/fire-tv/mediasession-api-integration.html
This is required only for Fire OS <14.
Related issues
I couldn't find any related issues.
Steps to reproduce: Start some media -> Tell Alexa to pause/play ("Alexa, pause", "Alexa, play")
Expected behavior: Media pauses/resumes almost immediately.
Actual behavior: Pausing takes ~10 seconds, resuming doesn't work at all
Environment:
Testing
See environment above.
After the change pause/play works immediately.
Screenshots
AI or LLM usage
I used Claude to analyze the issue and Claude Code to build a debug app for testing.