Fixed LinphoneActivity resume/pause loop when incoming call isn't answered and screen locked
This commit is contained in:
parent
7ca84288ed
commit
5ddc65371c
2 changed files with 2 additions and 2 deletions
|
@ -1445,8 +1445,6 @@ public class LinphoneActivity extends LinphoneGenericActivity
|
|||
displayMissedChats(LinphoneManager.getInstance().getUnreadMessageCount());
|
||||
displayMissedCalls(LinphoneManager.getLc().getMissedCallsCount());
|
||||
|
||||
LinphoneManager.getInstance().changeStatusToOnline();
|
||||
|
||||
if (!getIntent().getBooleanExtra("DoNotGoToCallActivity", false)) {
|
||||
if (LinphoneManager.getLc().getCalls().length > 0) {
|
||||
Call call = LinphoneManager.getLc().getCalls()[0];
|
||||
|
|
|
@ -77,6 +77,8 @@ public class LinphoneLauncherActivity extends Activity {
|
|||
}
|
||||
},
|
||||
500);
|
||||
|
||||
LinphoneManager.getInstance().changeStatusToOnline();
|
||||
}
|
||||
|
||||
private class ServiceWaitThread extends Thread {
|
||||
|
|
Loading…
Reference in a new issue