fix animation of callControls

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2021-10-20 21:32:14 +02:00
parent 3ba599be98
commit 6839b9eb2c
No known key found for this signature in database
GPG key ID: C793F8B59F43CE7B

View file

@ -481,9 +481,6 @@ public class CallController extends BaseController {
@SuppressLint("ClickableViewAccessibility")
private void initViews() {
callControls.setVisibility(View.VISIBLE);
callInfosLinearLayout.setVisibility(View.VISIBLE);
selfVideoViewWrapper.setVisibility(View.VISIBLE);
@ -2394,9 +2391,10 @@ 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
callControls.setVisibility(View.VISIBLE);
callInfosLinearLayout.setVisibility(View.VISIBLE);
selfVideoViewWrapper.setVisibility(View.VISIBLE);
}