Resume call PIP on app foreground.

This commit is contained in:
Cody Henthorne
2024-03-11 15:39:47 -04:00
parent 9e349d2b30
commit ce778be895
3 changed files with 76 additions and 12 deletions

View File

@@ -47,7 +47,10 @@ class WebRtcViewModel(state: WebRtcServiceState) {
get() = this == CALL_PRE_JOIN || this == NETWORK_FAILURE
val isPassedPreJoin: Boolean
get() = ordinal > ordinal
get() = ordinal > CALL_PRE_JOIN.ordinal
val inOngoingCall: Boolean
get() = this == CALL_INCOMING || this == CALL_OUTGOING || this == CALL_CONNECTED || this == CALL_RINGING || this == CALL_RECONNECTING
}
enum class GroupCallState {