|
|
@@ -98,6 +98,9 @@ class GmsgStateRepository() {
|
|
|
states: Array<RcsConfigureState>,
|
|
|
timeout: Duration
|
|
|
): RcsConfigureState? {
|
|
|
+ if (states.contains(rcsConfigureState.value)) {
|
|
|
+ return rcsConfigureState.value
|
|
|
+ }
|
|
|
var state: RcsConfigureState? = null
|
|
|
try {
|
|
|
withTimeoutOrNull<Boolean>(timeout) {
|