summaryrefslogtreecommitdiff
path: root/src/de
diff options
context:
space:
mode:
Diffstat (limited to 'src/de')
-rw-r--r--src/de/podfetcher/service/PlaybackService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/de/podfetcher/service/PlaybackService.java b/src/de/podfetcher/service/PlaybackService.java
index 3adbc350b..5041a2228 100644
--- a/src/de/podfetcher/service/PlaybackService.java
+++ b/src/de/podfetcher/service/PlaybackService.java
@@ -196,7 +196,6 @@ public class PlaybackService extends Service {
Log.w(TAG, "Something went wrong. Shutting down...");
stopSelf();
}
- setupNotification();
return Service.START_STICKY;
}
@@ -305,6 +304,7 @@ public class PlaybackService extends Service {
sendBroadcast(new Intent(ACTION_PLAYER_STATUS_CHANGED));
}
+ /** Prepares notification and starts the service in the foreground. */
private void setupNotification() {
PendingIntent pIntent = PendingIntent.getActivity(this, 0, new Intent(
this, MediaplayerActivity.class),