summaryrefslogtreecommitdiff
path: root/src/de/danoeh/antennapod/fragment/ExternalPlayerFragment.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/de/danoeh/antennapod/fragment/ExternalPlayerFragment.java')
-rw-r--r--src/de/danoeh/antennapod/fragment/ExternalPlayerFragment.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/de/danoeh/antennapod/fragment/ExternalPlayerFragment.java b/src/de/danoeh/antennapod/fragment/ExternalPlayerFragment.java
index 3779ce4de..276633870 100644
--- a/src/de/danoeh/antennapod/fragment/ExternalPlayerFragment.java
+++ b/src/de/danoeh/antennapod/fragment/ExternalPlayerFragment.java
@@ -144,6 +144,13 @@ public class ExternalPlayerFragment extends SherlockFragment {
@Override
public void onServiceQueried() {
}
+
+ @Override
+ public void onShutdownNotification() {
+ if (fragmentLayout != null) {
+ fragmentLayout.setVisibility(View.GONE);
+ }
+ }
};
butPlay.setOnClickListener(controller.newOnPlayButtonClickListener());
}