|
@@ -697,7 +697,7 @@ class ModifierService : AccessibilityService(), Emitter.Listener {
|
|
|
continue
|
|
continue
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- withTimeoutOrNull(20000) {
|
|
|
|
|
|
|
+ withTimeoutOrNull(30000) {
|
|
|
while (true) {
|
|
while (true) {
|
|
|
try {
|
|
try {
|
|
|
rcsRes = KtorClient.get(RcsNumberApi.Id(id = rcsRes.id))
|
|
rcsRes = KtorClient.get(RcsNumberApi.Id(id = rcsRes.id))
|
|
@@ -768,7 +768,7 @@ class ModifierService : AccessibilityService(), Emitter.Listener {
|
|
|
val configured = run a@{
|
|
val configured = run a@{
|
|
|
repeat(2) {
|
|
repeat(2) {
|
|
|
sendBroadcast(intent)
|
|
sendBroadcast(intent)
|
|
|
- val configured = withTimeoutOrNull(30.seconds) {
|
|
|
|
|
|
|
+ val configured = withTimeoutOrNull(60.seconds) {
|
|
|
while (true) {
|
|
while (true) {
|
|
|
if (rcsConfigureState.value == RcsConfigureState.CONFIGURED) {
|
|
if (rcsConfigureState.value == RcsConfigureState.CONFIGURED) {
|
|
|
break
|
|
break
|