summaryrefslogtreecommitdiff
path: root/playback
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2022-02-21 22:39:59 +0100
committerByteHamster <info@bytehamster.com>2022-02-22 20:14:00 +0100
commit48852e081a374c495fec1162f4dce3f31dc5b2c0 (patch)
treef6f21dfcc601055dda743a25c4c0190ba7e97c78 /playback
parent2f3efa5d3383732b52a4d9bf78b1b7502573151f (diff)
downloadAntennaPod-48852e081a374c495fec1162f4dce3f31dc5b2c0.zip
Delete a few unused things
Diffstat (limited to 'playback')
-rw-r--r--playback/base/src/main/java/de/danoeh/antennapod/playback/base/PlaybackServiceMediaPlayer.java6
-rw-r--r--playback/base/src/main/java/de/danoeh/antennapod/playback/base/PlayerStatus.java4
-rw-r--r--playback/cast/src/play/java/de/danoeh/antennapod/playback/cast/CastEnabledActivity.java1
-rw-r--r--playback/cast/src/play/java/de/danoeh/antennapod/playback/cast/CastPsmp.java5
4 files changed, 0 insertions, 16 deletions
diff --git a/playback/base/src/main/java/de/danoeh/antennapod/playback/base/PlaybackServiceMediaPlayer.java b/playback/base/src/main/java/de/danoeh/antennapod/playback/base/PlaybackServiceMediaPlayer.java
index d03695896..a2ccb3f88 100644
--- a/playback/base/src/main/java/de/danoeh/antennapod/playback/base/PlaybackServiceMediaPlayer.java
+++ b/playback/base/src/main/java/de/danoeh/antennapod/playback/base/PlaybackServiceMediaPlayer.java
@@ -179,12 +179,6 @@ public abstract class PlaybackServiceMediaPlayer {
*/
public abstract void shutdown();
- /**
- * Releases internally used resources. This method should only be called when the object is not used anymore.
- * This method is executed on an internal executor service.
- */
- public abstract void shutdownQuietly();
-
public abstract void setVideoSurface(SurfaceHolder surface);
public abstract void resetVideoSurface();
diff --git a/playback/base/src/main/java/de/danoeh/antennapod/playback/base/PlayerStatus.java b/playback/base/src/main/java/de/danoeh/antennapod/playback/base/PlayerStatus.java
index d995ae21f..154fc0c83 100644
--- a/playback/base/src/main/java/de/danoeh/antennapod/playback/base/PlayerStatus.java
+++ b/playback/base/src/main/java/de/danoeh/antennapod/playback/base/PlayerStatus.java
@@ -23,10 +23,6 @@ public enum PlayerStatus {
statusValue = val;
}
- public static PlayerStatus fromOrdinal(int o) {
- return fromOrdinalLookup[o];
- }
-
public boolean isAtLeast(PlayerStatus other) {
return other == null || this.statusValue >= other.statusValue;
}
diff --git a/playback/cast/src/play/java/de/danoeh/antennapod/playback/cast/CastEnabledActivity.java b/playback/cast/src/play/java/de/danoeh/antennapod/playback/cast/CastEnabledActivity.java
index 2cebde6a3..83abd98b7 100644
--- a/playback/cast/src/play/java/de/danoeh/antennapod/playback/cast/CastEnabledActivity.java
+++ b/playback/cast/src/play/java/de/danoeh/antennapod/playback/cast/CastEnabledActivity.java
@@ -13,7 +13,6 @@ import com.google.android.gms.common.GoogleApiAvailability;
* network.
*/
public abstract class CastEnabledActivity extends AppCompatActivity {
- private static final String TAG = "CastEnabledActivity";
private boolean canCast = false;
@Override
diff --git a/playback/cast/src/play/java/de/danoeh/antennapod/playback/cast/CastPsmp.java b/playback/cast/src/play/java/de/danoeh/antennapod/playback/cast/CastPsmp.java
index 8e74154e8..d3c4f3468 100644
--- a/playback/cast/src/play/java/de/danoeh/antennapod/playback/cast/CastPsmp.java
+++ b/playback/cast/src/play/java/de/danoeh/antennapod/playback/cast/CastPsmp.java
@@ -456,11 +456,6 @@ public class CastPsmp extends PlaybackServiceMediaPlayer {
}
@Override
- public void shutdownQuietly() {
- shutdown();
- }
-
- @Override
public void setVideoSurface(SurfaceHolder surface) {
throw new UnsupportedOperationException("Setting Video Surface unsupported in Remote Media Player");
}