Fix background mode

This commit is contained in:
Margaux Clerc 2015-02-04 11:05:51 +01:00
parent 9242f84e5d
commit efef60a158

View file

@ -168,7 +168,7 @@ public final class LinphoneService extends Service {
} }
instance = this; // instance is ready once linphone manager has been created instance = this; // instance is ready once linphone manager has been created
mListener = new LinphoneCoreListenerBase(){ LinphoneManager.getLc().addListener(mListener = new LinphoneCoreListenerBase(){
@Override @Override
public void callState(LinphoneCore lc, LinphoneCall call, LinphoneCall.State state, String message) { public void callState(LinphoneCore lc, LinphoneCall call, LinphoneCall.State state, String message) {
@ -240,7 +240,7 @@ public final class LinphoneService extends Service {
} }
} }
} }
}; });
// Retrieve methods to publish notification and keep Android // Retrieve methods to publish notification and keep Android
// from killing us and keep the audio quality high. // from killing us and keep the audio quality high.