diff options
Diffstat (limited to 'src/de/danoeh/antennapod/fragment/ExternalPlayerFragment.java')
-rw-r--r-- | src/de/danoeh/antennapod/fragment/ExternalPlayerFragment.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/de/danoeh/antennapod/fragment/ExternalPlayerFragment.java b/src/de/danoeh/antennapod/fragment/ExternalPlayerFragment.java index 94aa2b0fc..1b7d77193 100644 --- a/src/de/danoeh/antennapod/fragment/ExternalPlayerFragment.java +++ b/src/de/danoeh/antennapod/fragment/ExternalPlayerFragment.java @@ -162,6 +162,18 @@ public class ExternalPlayerFragment extends SherlockFragment { } } + + @Override + public void onPlaybackEnd() { + if (fragmentLayout != null) { + fragmentLayout.setVisibility(View.GONE); + } + controller = setupPlaybackController(); + if (butPlay != null) { + butPlay.setOnClickListener(controller + .newOnPlayButtonClickListener()); + } + } }; } |