Fix background mode
This commit is contained in:
parent
9242f84e5d
commit
efef60a158
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue