Fix:
-Do not register intent twice on restart
This commit is contained in:
parent
eb239aea2b
commit
1a641f269a
1 changed files with 0 additions and 7 deletions
|
@ -695,13 +695,6 @@ public class LinphoneManager implements LinphoneCoreListener, LinphoneChatMessag
|
||||||
public void restartLinphoneCore() {
|
public void restartLinphoneCore() {
|
||||||
destroyLinphoneCore();
|
destroyLinphoneCore();
|
||||||
startLibLinphone(mServiceContext);
|
startLibLinphone(mServiceContext);
|
||||||
/*
|
|
||||||
You cannot receive this through components declared in manifests, only
|
|
||||||
by explicitly registering for it with Context.registerReceiver(). This is a protected intent that can only
|
|
||||||
be sent by the system.
|
|
||||||
*/
|
|
||||||
mServiceContext.registerReceiver(mKeepAliveReceiver, mKeepAliveIntentFilter);
|
|
||||||
mServiceContext.registerReceiver(mDozeReceiver, mDozeIntentFilter);
|
|
||||||
sExited = false;
|
sExited = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue