question

Andreas ��man avatar image
Andreas ��man asked

Failing on test 25 (media keys)

steps to reproduce: 1. Install and launch the app. 2. Make sure an audio app like Pandora plays in the background. x. bunch of other steps to activate video playback. 9. Select media buttons Play-pause/Fast forward. Actual result: Observe app does not prevent other application from using media buttons. Expected Result: App should not result in conflicting inputs when playing a video and any background music app. I can't reproduce the issue. I don't have Pandora (don't live in the US) but I've tried with Spotify and TuneIn Radio none of which seems to suffer from the described problem here. My app's activity returns 'true' in the onKeyDown() method when i press the media buttons and by that I assume the event will be captured and not forwared to other apps. From what I understand this should block any other apps from consuming the event. Is this not the correct behavior? Are the tests documented somewhere?
fire tvsubmission testing distribution
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Levon@Amazon avatar image
Levon@Amazon answered
Hi Andreas, Please see the following documentation about managing audio focus through the requestAudioFocus call: https://developer.amazon.com/public/solutions/devices/fire-tv/docs/amazon-fire-tv-sdk-frequently-asked-questions#Media%20Playback
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.