fix to show call controls in voiceOnly call after coming back from pip mode

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2021-10-25 11:08:03 +02:00
parent 1ae5f51a81
commit 12d96634e5
No known key found for this signature in database
GPG key ID: C793F8B59F43CE7B

View file

@ -2398,9 +2398,12 @@ public class CallController extends BaseController {
}
public void updateUiForNormalMode(){
callControls.setVisibility(View.INVISIBLE); // animateCallControls needs this to be invisible for a check.
initViews(); // --> IllegalStateException: pip_video_viewAlready initialized
if (isVoiceOnlyCall) {
callControls.setVisibility(View.VISIBLE);
} else {
callControls.setVisibility(View.INVISIBLE); // animateCallControls needs this to be invisible for a check.
}
initViews();
callInfosLinearLayout.setVisibility(View.VISIBLE);
selfVideoViewWrapper.setVisibility(View.VISIBLE);