kopia lustrzana https://github.com/meshtastic/Meshtastic-Android
after boot wait even longer - 2 min, we are in no rush anyways
the phone should be quite less busy by thenpull/28/head
rodzic
7529bbcfb6
commit
b4da48beb5
|
@ -93,7 +93,7 @@ class MeshService : Service(), Logging {
|
|||
fun startLater(context: Context) {
|
||||
info("Received boot complete announcement, starting mesh service in one minute")
|
||||
val delayRequest = OneTimeWorkRequestBuilder<ServiceStarter>()
|
||||
.setInitialDelay(1, TimeUnit.MINUTES)
|
||||
.setInitialDelay(2, TimeUnit.MINUTES)
|
||||
.setBackoffCriteria(BackoffPolicy.EXPONENTIAL, 1, TimeUnit.MINUTES)
|
||||
.addTag("startLater")
|
||||
.build()
|
||||
|
|
Ładowanie…
Reference in New Issue