mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-23 13:35:33 +03:00
fix animation of callControls
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
3ba599be98
commit
6839b9eb2c
1 changed files with 2 additions and 4 deletions
|
@ -481,9 +481,6 @@ public class CallController extends BaseController {
|
||||||
|
|
||||||
@SuppressLint("ClickableViewAccessibility")
|
@SuppressLint("ClickableViewAccessibility")
|
||||||
private void initViews() {
|
private void initViews() {
|
||||||
|
|
||||||
|
|
||||||
callControls.setVisibility(View.VISIBLE);
|
|
||||||
callInfosLinearLayout.setVisibility(View.VISIBLE);
|
callInfosLinearLayout.setVisibility(View.VISIBLE);
|
||||||
selfVideoViewWrapper.setVisibility(View.VISIBLE);
|
selfVideoViewWrapper.setVisibility(View.VISIBLE);
|
||||||
|
|
||||||
|
@ -2394,9 +2391,10 @@ public class CallController extends BaseController {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void updateUiForNormalMode(){
|
public void updateUiForNormalMode(){
|
||||||
|
callControls.setVisibility(View.INVISIBLE); // animateCallControls needs this to be invisible for a check.
|
||||||
initViews(); // --> IllegalStateException: pip_video_viewAlready initialized
|
initViews(); // --> IllegalStateException: pip_video_viewAlready initialized
|
||||||
|
|
||||||
callControls.setVisibility(View.VISIBLE);
|
|
||||||
callInfosLinearLayout.setVisibility(View.VISIBLE);
|
callInfosLinearLayout.setVisibility(View.VISIBLE);
|
||||||
selfVideoViewWrapper.setVisibility(View.VISIBLE);
|
selfVideoViewWrapper.setVisibility(View.VISIBLE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue