remove isGroupConversation variable

Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
sowjanyakch 2024-10-29 16:07:34 +01:00 committed by Marcel Hibbe
parent de637871a6
commit cfe83dd027
No known key found for this signature in database
GPG key ID: C793F8B59F43CE7B

View file

@ -475,7 +475,7 @@ class CallActivity : CallBaseActivity() {
binding!!.callRecordingIndicator.visibility = View.GONE binding!!.callRecordingIndicator.visibility = View.GONE
} }
} }
initClickListeners(isModerator, isOneToOneConversation, isGroupConversation) initClickListeners(isModerator, isOneToOneConversation)
binding!!.microphoneButton.setOnTouchListener(MicrophoneButtonTouchListener()) binding!!.microphoneButton.setOnTouchListener(MicrophoneButtonTouchListener())
pulseAnimation = PulseAnimation.create().with(binding!!.microphoneButton) pulseAnimation = PulseAnimation.create().with(binding!!.microphoneButton)
.setDuration(310) .setDuration(310)
@ -619,11 +619,7 @@ class CallActivity : CallBaseActivity() {
} }
@SuppressLint("ClickableViewAccessibility") @SuppressLint("ClickableViewAccessibility")
private fun initClickListeners( private fun initClickListeners(isModerator: Boolean, isOneToOneConversation: Boolean) {
isModerator: Boolean,
isOneToOneConversation: Boolean,
isGroupConversation: Boolean
) {
binding!!.pictureInPictureButton.setOnClickListener { enterPipMode() } binding!!.pictureInPictureButton.setOnClickListener { enterPipMode() }
binding!!.audioOutputButton.setOnClickListener { binding!!.audioOutputButton.setOnClickListener {