mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-24 14:05:40 +03:00
Merge pull request #4366 from nextcloud/backport/4359/stable-20.0
[stable-20.0] Remove dead code to set the call state
This commit is contained in:
commit
f14e849ea5
1 changed files with 3 additions and 5 deletions
|
@ -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 a new issue