Prevent going back to waiting room when pressing back or when adding call
This commit is contained in:
parent
9f04cc3995
commit
71ce40a8ea
2 changed files with 12 additions and 1 deletions
|
@ -8,7 +8,7 @@ plugins {
|
|||
def appVersionName = "4.7.0"
|
||||
// Uncomment for 4.7.0 release
|
||||
// def appVersionCode = 40700 // 4.07.00
|
||||
def appVersionCode = 40692 // 4.06.92
|
||||
def appVersionCode = 40693 // 4.06.93
|
||||
|
||||
static def getPackageName() {
|
||||
return "org.linphone"
|
||||
|
|
|
@ -101,6 +101,17 @@ class ConferenceWaitingRoomViewModel : MessageNotifierViewModel() {
|
|||
else -> {}
|
||||
}
|
||||
}
|
||||
|
||||
override fun onConferenceStateChanged(
|
||||
core: Core,
|
||||
conference: Conference,
|
||||
state: Conference.State?
|
||||
) {
|
||||
if (state == Conference.State.Created) {
|
||||
Log.i("[Conference Waiting Room] Conference has been created, leaving waiting room fragment")
|
||||
leaveWaitingRoomEvent.value = Event(true)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
init {
|
||||
|
|
Loading…
Reference in a new issue