fix app crash (npe)

This commit is contained in:
David Development 2016-08-28 23:28:48 +02:00
parent 547ef668bc
commit e50f2bf6b6

View file

@ -68,7 +68,9 @@ public class PodcastPlaybackService extends Service implements TextToSpeech.OnIn
stopSelf(); stopSelf();
} }
podcastNotification.unbind(); if(podcastNotification != null) {
podcastNotification.unbind();
}
return super.onUnbind(intent); return super.onUnbind(intent);
} }