mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-02-05 21:13:45 +01:00
d652bd2184
It appears that Oreo has changed the behavior for Bluetooth KeyEvents. Starting with Android 8.0, KeyEvent.getSource() returns 0 (unknown source). This change explicitly sets when a key press is sent from a notification, or lockscreen event. Otherwise we use the customer-defined skip behavior.