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

Fix crash in bindAudioService()

parent a2c8830f
......@@ -126,6 +126,10 @@ public class AudioServiceController implements AudioPlayerControl {
* Bind to audio service if it is running
public void bindAudioService() {
if (mContext == null) {
Log.w(TAG, "bindAudioService() with null Context. Ooops" );
if (mAudioServiceBinder == null) {
Intent service = new Intent(mContext, AudioService.class);
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