mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 19:38:08 +00:00
start incall view in state OutgoingInit
This commit is contained in:
parent
142f34f53c
commit
dbd9ed5967
1 changed files with 4 additions and 1 deletions
|
|
@ -499,6 +499,9 @@ public class LinphoneActivity extends TabActivity implements
|
|||
if (state==State.IncomingReceived) {
|
||||
startIncomingCallActivity(call);
|
||||
}
|
||||
if (state == State.OutgoingInit) {
|
||||
startIncallActivity();
|
||||
}
|
||||
if (state==State.OutgoingInit || state==State.IncomingReceived) {
|
||||
startOrientationSensor();
|
||||
enterIncallMode();
|
||||
|
|
@ -507,8 +510,8 @@ public class LinphoneActivity extends TabActivity implements
|
|||
finishActivity(INCOMING_CALL_ACTIVITY);
|
||||
}
|
||||
if (state==State.Connected) {
|
||||
startIncallActivity();
|
||||
if (call.getDirection() == CallDirection.Incoming) {
|
||||
startIncallActivity();
|
||||
enterIncallMode();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue