diff options
author | Domingos Lopes <domingos86lopes+github@gmail.com> | 2016-04-17 02:09:10 -0400 |
---|---|---|
committer | Domingos Lopes <domingos86lopes+github@gmail.com> | 2016-04-24 22:06:26 -0400 |
commit | 982142634f5b644d55808f1c9f6f536a7d9fd6fe (patch) | |
tree | 8c00a4173f2ca16f9bcc3febb18dc3d84782906a /app | |
parent | dedd454685f29985f36330b59eb7d17e7748458d (diff) | |
download | AntennaPod-982142634f5b644d55808f1c9f6f536a7d9fd6fe.zip |
get rid of cast callbacks (config)
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/config/CastCallbacksImpl.java | 20 | ||||
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/config/ClientConfigurator.java | 1 |
2 files changed, 0 insertions, 21 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/config/CastCallbacksImpl.java b/app/src/main/java/de/danoeh/antennapod/config/CastCallbacksImpl.java deleted file mode 100644 index b92544201..000000000 --- a/app/src/main/java/de/danoeh/antennapod/config/CastCallbacksImpl.java +++ /dev/null @@ -1,20 +0,0 @@ -package de.danoeh.antennapod.config; - -import android.app.Activity; -import android.content.Context; -import android.content.Intent; - -import de.danoeh.antennapod.activity.AudioplayerActivity; -import de.danoeh.antennapod.core.CastCallbacks; - -public class CastCallbacksImpl implements CastCallbacks { - @Override - public Class<? extends Activity> getCastActivity() { - return AudioplayerActivity.class; - } - - @Override - public Intent getCastActivityIntent(Context context) { - return new Intent(context, getCastActivity()); - } -} diff --git a/app/src/main/java/de/danoeh/antennapod/config/ClientConfigurator.java b/app/src/main/java/de/danoeh/antennapod/config/ClientConfigurator.java index 154b10cb3..932b9d22f 100644 --- a/app/src/main/java/de/danoeh/antennapod/config/ClientConfigurator.java +++ b/app/src/main/java/de/danoeh/antennapod/config/ClientConfigurator.java @@ -16,6 +16,5 @@ public class ClientConfigurator { ClientConfig.playbackServiceCallbacks = new PlaybackServiceCallbacksImpl(); ClientConfig.flattrCallbacks = new FlattrCallbacksImpl(); ClientConfig.dbTasksCallbacks = new DBTasksCallbacksImpl(); - ClientConfig.castCallbacks = new CastCallbacksImpl(); } } |