diff options
author | ByteHamster <info@bytehamster.com> | 2021-05-14 20:42:15 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2021-05-14 21:03:35 +0200 |
commit | f56ce1ea529e90637b80f4f20853d63ccbbff5fd (patch) | |
tree | 8e5f5220774ca8067421e5078ccbbe89938604a2 /core/src/play/java | |
parent | 74dcf09b3b9aec0d1fe9bd5f530bc54bfe2e0f23 (diff) | |
download | AntennaPod-f56ce1ea529e90637b80f4f20853d63ccbbff5fd.zip |
Just assume we can always set the playback speed
Our default ExoPlayer can always set the speed. All Android versions >23
also support it. So of the 2% of users with old devices, this only
affects the ones who manually selected another player.
Diffstat (limited to 'core/src/play/java')
-rw-r--r-- | core/src/play/java/de/danoeh/antennapod/core/service/playback/RemotePSMP.java | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/core/src/play/java/de/danoeh/antennapod/core/service/playback/RemotePSMP.java b/core/src/play/java/de/danoeh/antennapod/core/service/playback/RemotePSMP.java index b114663f0..9fd99f236 100644 --- a/core/src/play/java/de/danoeh/antennapod/core/service/playback/RemotePSMP.java +++ b/core/src/play/java/de/danoeh/antennapod/core/service/playback/RemotePSMP.java @@ -511,13 +511,6 @@ public class RemotePSMP extends PlaybackServiceMediaPlayer { this.startWhenPrepared.set(startWhenPrepared); } - // As things are right now, changing the return value of this function is not enough to ensure - // all other components recognize it. - @Override - public boolean canSetSpeed() { - return false; - } - @Override public void setPlaybackParams(float speed, boolean skipSilence) { //Can be safely ignored as neither set speed not skipSilence is supported |