diff options
author | Domingos Lopes <domingos86lopes+github@gmail.com> | 2016-07-02 11:37:28 -0400 |
---|---|---|
committer | Domingos Lopes <domingos86lopes+github@gmail.com> | 2016-07-02 11:37:28 -0400 |
commit | 2f235fc46e8270ca86a9e9578a48bd365e306fcc (patch) | |
tree | b07765ed875997d55d1416338ffcd24e5ec3b981 /core/src/play | |
parent | 247fa77f9d08420783ad94bcbe4596cec5c6f8e5 (diff) | |
download | AntennaPod-2f235fc46e8270ca86a9e9578a48bd365e306fcc.zip |
set pending activity intent on mediasession
Diffstat (limited to 'core/src/play')
-rw-r--r-- | core/src/play/java/de/danoeh/antennapod/core/service/playback/PlaybackServiceFlavorHelper.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/src/play/java/de/danoeh/antennapod/core/service/playback/PlaybackServiceFlavorHelper.java b/core/src/play/java/de/danoeh/antennapod/core/service/playback/PlaybackServiceFlavorHelper.java index aef3e3c2b..93431d466 100644 --- a/core/src/play/java/de/danoeh/antennapod/core/service/playback/PlaybackServiceFlavorHelper.java +++ b/core/src/play/java/de/danoeh/antennapod/core/service/playback/PlaybackServiceFlavorHelper.java @@ -75,9 +75,8 @@ public class PlaybackServiceFlavorHelper { boolean castDisconnect(boolean castDisconnect) { if (castDisconnect) { castManager.disconnect(); - return true; } - return false; + return castDisconnect; } boolean onMediaPlayerInfo(Context context, int code, @StringRes int resourceId) { |