Skip to content
Snippets Groups Projects
Commit f602ec9f authored by Pierre Nicolas's avatar Pierre Nicolas :joy: Committed by Adrien Béraud
Browse files

conference: fix weird display

Also remove "displayContactBubble" from interface as it is not used anywhere anymore (I think it's legacy code).
GitLab: #1434

Change-Id: I1f72485dc6067e94faf55c0e409dd17d4ea798d6
parent ddf9cd44
No related branches found
No related tags found
No related merge requests found
...@@ -738,12 +738,6 @@ class CallFragment : BaseSupportFragment<CallPresenter, CallView>(), CallView, ...@@ -738,12 +738,6 @@ class CallFragment : BaseSupportFragment<CallPresenter, CallView>(), CallView,
} }
} }
override fun displayContactBubble(display: Boolean) {
binding?.apply {
contactBubbleLayout.isVisible = display
}
}
override fun displayLocalVideo(display: Boolean) { override fun displayLocalVideo(display: Boolean) {
Log.w(TAG, "displayLocalVideo -> $display") Log.w(TAG, "displayLocalVideo -> $display")
binding?.apply { binding?.apply {
...@@ -851,8 +845,6 @@ class CallFragment : BaseSupportFragment<CallPresenter, CallView>(), CallView, ...@@ -851,8 +845,6 @@ class CallFragment : BaseSupportFragment<CallPresenter, CallView>(), CallView,
) )
generateParticipantOverlay(participantInfo) generateParticipantOverlay(participantInfo)
presenter.prepareBottomSheetButtonsStatus() presenter.prepareBottomSheetButtonsStatus()
} else {
displayContactBubble(true)
} }
binding.confControlGroup.visibility = View.VISIBLE binding.confControlGroup.visibility = View.VISIBLE
......
...@@ -236,10 +236,6 @@ class TVCallFragment : BaseSupportFragment<CallPresenter, CallView>(), CallView ...@@ -236,10 +236,6 @@ class TVCallFragment : BaseSupportFragment<CallPresenter, CallView>(), CallView
} }
} }
override fun displayContactBubble(display: Boolean) {
binding!!.contactBubbleLayout.visibility = if (display) View.VISIBLE else View.GONE
}
override fun displayLocalVideo(display: Boolean) { override fun displayLocalVideo(display: Boolean) {
binding!!.previewContainer.visibility = if (display) View.VISIBLE else View.GONE binding!!.previewContainer.visibility = if (display) View.VISIBLE else View.GONE
} }
......
...@@ -24,7 +24,6 @@ import net.jami.model.Uri ...@@ -24,7 +24,6 @@ import net.jami.model.Uri
import net.jami.services.HardwareService.AudioState import net.jami.services.HardwareService.AudioState
interface CallView { interface CallView {
fun displayContactBubble(display: Boolean)
fun displayLocalVideo(display: Boolean) fun displayLocalVideo(display: Boolean)
fun displayHangupButton(display: Boolean) fun displayHangupButton(display: Boolean)
fun displayDialPadKeyboard() fun displayDialPadKeyboard()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment