mirror of
https://github.com/nextcloud/talk-android
synced 2025-01-31 19:42:34 +00:00
Merge pull request #4359 from nextcloud/remove-dead-code-to-set-the-call-state
Remove dead code to set the call state
This commit is contained in:
commit
59505c418e
@ -393,11 +393,9 @@ class CallActivity : CallBaseActivity() {
|
||||
baseUrl = conversationUser!!.baseUrl
|
||||
}
|
||||
powerManagerUtils = PowerManagerUtils()
|
||||
if ("resume".equals(extras.getString("state", ""), ignoreCase = true)) {
|
||||
setCallState(CallStatus.IN_CONVERSATION)
|
||||
} else {
|
||||
setCallState(CallStatus.CONNECTING)
|
||||
}
|
||||
|
||||
setCallState(CallStatus.CONNECTING)
|
||||
|
||||
raiseHandViewModel = ViewModelProvider(this, viewModelFactory).get(RaiseHandViewModel::class.java)
|
||||
raiseHandViewModel!!.setData(roomToken!!, isBreakoutRoom)
|
||||
raiseHandViewModel!!.viewState.observe(this) { viewState: RaiseHandViewModel.ViewState? ->
|
||||
|
Loading…
Reference in New Issue
Block a user