Fix share my camera setting not honored (regression)
This commit is contained in:
parent
d4308ddc31
commit
b6b080e648
1 changed files with 3 additions and 1 deletions
|
@ -485,7 +485,9 @@ public class LinphoneActivity extends TabActivity implements
|
||||||
finishActivity(INCOMING_CALL_ACTIVITY);
|
finishActivity(INCOMING_CALL_ACTIVITY);
|
||||||
}
|
}
|
||||||
if (state == LinphoneCall.State.StreamsRunning && Version.isVideoCapable() && !call.isInConference()) {
|
if (state == LinphoneCall.State.StreamsRunning && Version.isVideoCapable() && !call.isInConference()) {
|
||||||
boolean videoEnabled = call.getCurrentParamsCopy().getVideoEnabled();
|
// call.cameraEnabled() contains the wish of the user
|
||||||
|
// set in LinphoneManager#onCallStateChanged(OutgoingInit||IncomingReceived)
|
||||||
|
boolean videoEnabled = call.cameraEnabled() && call.getCurrentParamsCopy().getVideoEnabled();
|
||||||
if (videoEnabled) {
|
if (videoEnabled) {
|
||||||
startVideoActivity(call, 1000);
|
startVideoActivity(call, 1000);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue