mirror of
https://github.com/nextcloud/talk-android
synced 2025-02-07 23:24:33 +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
|
baseUrl = conversationUser!!.baseUrl
|
||||||
}
|
}
|
||||||
powerManagerUtils = PowerManagerUtils()
|
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 = ViewModelProvider(this, viewModelFactory).get(RaiseHandViewModel::class.java)
|
||||||
raiseHandViewModel!!.setData(roomToken!!, isBreakoutRoom)
|
raiseHandViewModel!!.setData(roomToken!!, isBreakoutRoom)
|
||||||
raiseHandViewModel!!.viewState.observe(this) { viewState: RaiseHandViewModel.ViewState? ->
|
raiseHandViewModel!!.viewState.observe(this) { viewState: RaiseHandViewModel.ViewState? ->
|
||||||
|
Loading…
Reference in New Issue
Block a user