Commit 99ce9dbc authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Avoid a crash in AudioService

parent 9f9d7a57
......@@ -316,6 +316,9 @@ public class AudioService extends Service {
};
private void showNotification() {
if (mCurrentMedia == null)
return;
// add notification to status bar
if (mNotification == null) {
mNotification = new Notification(R.drawable.icon, null,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment