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

AudioService: fix potential NullDereference

So, the intent can be null, but the default implementation cannot cope
with it?
parent 8df90919
......@@ -261,6 +261,8 @@ public class AudioService extends Service {
@Override
public int onStartCommand(Intent intent, int flags, int startId) {
if (intent == null)
return START_STICKY;
updateWidget(this);
return super.onStartCommand(intent, flags, startId);
}
......
Markdown is supported
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