summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/play/java/de/danoeh/antennapod/core/cast/CastManager.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/play/java/de/danoeh/antennapod/core/cast/CastManager.java b/core/src/play/java/de/danoeh/antennapod/core/cast/CastManager.java
index b3f5038d7..66b4558be 100644
--- a/core/src/play/java/de/danoeh/antennapod/core/cast/CastManager.java
+++ b/core/src/play/java/de/danoeh/antennapod/core/cast/CastManager.java
@@ -1746,7 +1746,8 @@ public class CastManager extends BaseCastManager implements OnFailedListener {
if (!(actionProvider instanceof SwitchableMediaRouteActionProvider)) {
Log.wtf(TAG, "MenuItem provided to addMediaRouterButton() is not compatible with " +
"SwitchableMediaRouteActionProvider." +
- ((actionProvider == null) ? " Its action provider is null!" : ""));
+ ((actionProvider == null) ? " Its action provider is null!" : ""),
+ new ClassCastException());
return null;
}
SwitchableMediaRouteActionProvider mediaRouteActionProvider =