fix that call controls appear on touch when connecting

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2021-11-16 14:46:23 +01:00
parent e2668c4000
commit 9499b8117b
No known key found for this signature in database
GPG key ID: C793F8B59F43CE7B

View file

@ -530,6 +530,17 @@ public class CallActivity extends CallBaseActivity {
} }
}); });
// TODO maybe not necessary if it doesnt disappear
binding.conversationRelativeLayout.setOnTouchListener(new View.OnTouchListener() {
public boolean onTouch(View v, MotionEvent me) {
int action = me.getActionMasked();
if (action == MotionEvent.ACTION_DOWN) {
animateCallControls(true, 0);
}
return false;
}
});
animateCallControls(true, 0); animateCallControls(true, 0);
initGridAdapter(); initGridAdapter();