diff options
author | Domingos Lopes <domingos86lopes+github@gmail.com> | 2016-06-03 17:07:17 -0400 |
---|---|---|
committer | Domingos Lopes <domingos86lopes+github@gmail.com> | 2016-06-08 22:49:03 -0400 |
commit | 6036f2d960dc45d847816d8fa90fce5a2650df75 (patch) | |
tree | 4ae1413566ecb686efff7cbca92559ae75784f38 /core/src | |
parent | b46b2247b46f36f28e14e536c9f8ce605091b015 (diff) | |
download | AntennaPod-6036f2d960dc45d847816d8fa90fce5a2650df75.zip |
print stack trace with the log entries
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/play/java/de/danoeh/antennapod/core/cast/CastManager.java | 3 |
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 = |