Closed cemrich closed 3 years ago
I can reproduce the issue on an Android TV emulator with keyboard.
Thanks for digging into this. To me the code looks just like the examples from the android code pages so I don't have a clue why it's firing twice. Also I couldn't find anything on android TV behaving different from other android devices with regard to onKey events. Could one find another app that is made for TV and check how key presses are handled there? Kodi maybe?
I just tested this issue on an Android TV emulator with API level 27 (Android 8.1) and it is gone. Does anybody else experience this issue on a real device?
I will close this issue due to inactivity. Please reopen if this issue bothers you again.
Unfortunately this issue still persists on my FireTV Stick 4K with the newest FireOS 6.2.7.3 and Zapp 3.5.0.
When I press right on any of my remotes while watching "Das Erste" it will quickly skip over "ZDF" and switch to "arte".
I can't fix this without a real device. So, please help, folks :-)
This issue is obsolete with version 5.0.0 as channel switching is no longer allowed.
When switching channels on Fire TV via remote control, two channels are switched at once. On a "normal" Android device with keyboard the channel switching works as intended.
The channel switching takes place in https://github.com/cemrich/zapp/blob/master/app/src/main/java/de/christinecoenen/code/zapp/app/livestream/ui/detail/ChannelDetailActivity.java