Don't call update_call after the device rotation as it will already take care of doing so
This commit is contained in:
parent
d8cc5b62f8
commit
df41e6743d
1 changed files with 0 additions and 6 deletions
|
@ -1873,12 +1873,6 @@ public class LinphoneActivity extends LinphoneGenericActivity
|
||||||
Core lc = LinphoneManager.getLcIfManagerNotDestroyedOrNull();
|
Core lc = LinphoneManager.getLcIfManagerNotDestroyedOrNull();
|
||||||
if (lc != null) {
|
if (lc != null) {
|
||||||
lc.setDeviceRotation(rotation);
|
lc.setDeviceRotation(rotation);
|
||||||
Call currentCall = lc.getCurrentCall();
|
|
||||||
if (currentCall != null
|
|
||||||
&& currentCall.cameraEnabled()
|
|
||||||
&& currentCall.getCurrentParams().videoEnabled()) {
|
|
||||||
lc.updateCall(currentCall, null);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue