xiongzhu 1 an în urmă
părinte
comite
2dcd09bd2d

+ 2 - 1
app/src/main/java/com/example/modifier/service/ModifierService.kt

@@ -64,6 +64,7 @@ import java.util.concurrent.atomic.AtomicReference
 import kotlin.math.max
 import kotlin.math.max
 import kotlin.math.min
 import kotlin.math.min
 import kotlin.time.Duration.Companion.minutes
 import kotlin.time.Duration.Companion.minutes
+import kotlin.time.Duration.Companion.seconds
 
 
 
 
 @SuppressLint("SetTextI18n")
 @SuppressLint("SetTextI18n")
@@ -243,7 +244,7 @@ class ModifierService : AccessibilityService() {
                 gmsgStateRepo.startLogging()
                 gmsgStateRepo.startLogging()
             }
             }
             if (isRebooted()) {
             if (isRebooted()) {
-                delay(2.minutes)
+                delay(15.seconds)
             } else {
             } else {
                 delay(5000)
                 delay(5000)
             }
             }