diff options
author | ByteHamster <info@bytehamster.com> | 2022-02-19 13:58:47 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2022-02-19 14:19:59 +0100 |
commit | 1e87e34797c8167eeec835b13b01441b61cd6719 (patch) | |
tree | 37b23db7d48ca58e2035da055a0f075d6a948edc /app/src/main/java/de/danoeh/antennapod/adapter | |
parent | acb384b128c00580878b55aeb8dfdede7e3dc0cc (diff) | |
download | AntennaPod-1e87e34797c8167eeec835b13b01441b61cd6719.zip |
Remove startWhenPrepared and prepareImmediately
They are always `true` anyway.
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod/adapter')
4 files changed, 0 insertions, 4 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/adapter/FeedItemlistDescriptionAdapter.java b/app/src/main/java/de/danoeh/antennapod/adapter/FeedItemlistDescriptionAdapter.java index 6073e97be..f790a5784 100644 --- a/app/src/main/java/de/danoeh/antennapod/adapter/FeedItemlistDescriptionAdapter.java +++ b/app/src/main/java/de/danoeh/antennapod/adapter/FeedItemlistDescriptionAdapter.java @@ -80,7 +80,6 @@ public class FeedItemlistDescriptionAdapter extends ArrayAdapter<FeedItem> { } new PlaybackServiceStarter(getContext(), playable) - .startWhenPrepared(true) .callEvenIfRunning(true) .start(); diff --git a/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/PlayActionButton.java b/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/PlayActionButton.java index 528f38ba7..983ae3df9 100644 --- a/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/PlayActionButton.java +++ b/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/PlayActionButton.java @@ -41,7 +41,6 @@ public class PlayActionButton extends ItemActionButton { } new PlaybackServiceStarter(context, media) .callEvenIfRunning(true) - .startWhenPrepared(true) .start(); if (media.getMediaType() == MediaType.VIDEO) { diff --git a/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/PlayLocalActionButton.java b/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/PlayLocalActionButton.java index 47cd4d66b..ce251f5a6 100644 --- a/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/PlayLocalActionButton.java +++ b/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/PlayLocalActionButton.java @@ -37,7 +37,6 @@ public class PlayLocalActionButton extends ItemActionButton { new PlaybackServiceStarter(context, media) .callEvenIfRunning(true) - .startWhenPrepared(true) .start(); if (media.getMediaType() == MediaType.VIDEO) { diff --git a/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/StreamActionButton.java b/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/StreamActionButton.java index 244022c1c..2f5cb5430 100644 --- a/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/StreamActionButton.java +++ b/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/StreamActionButton.java @@ -47,7 +47,6 @@ public class StreamActionButton extends ItemActionButton { } new PlaybackServiceStarter(context, media) .callEvenIfRunning(true) - .startWhenPrepared(true) .start(); if (media.getMediaType() == MediaType.VIDEO) { |