service: further delay start
Hopefully the foreground limiter "likes" this.
This commit is contained in:
parent
3efd4ea59f
commit
3d154ea66c
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ class AuxioService :
|
||||||
// The foreground limiter is fussy and doesn't like us starting a foreground
|
// The foreground limiter is fussy and doesn't like us starting a foreground
|
||||||
// service too early despite having the right to do so at this point. Comply
|
// service too early despite having the right to do so at this point. Comply
|
||||||
// and artificially delay (to user detriment...)
|
// and artificially delay (to user detriment...)
|
||||||
delay(250)
|
delay(1000)
|
||||||
val startId = intent?.getIntExtra(INTENT_KEY_START_ID, -1) ?: -1
|
val startId = intent?.getIntExtra(INTENT_KEY_START_ID, -1) ?: -1
|
||||||
musicFragment.start()
|
musicFragment.start()
|
||||||
playbackFragment.start(startId)
|
playbackFragment.start(startId)
|
||||||
|
|
Loading…
Reference in a new issue