Pauses the service only after the debug messages

pull/519/head
Vitor Pamplona 2023-07-22 18:27:02 -04:00
rodzic 15ce0b3e05
commit 4eea36678e
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -128,12 +128,11 @@ class MainActivity : AppCompatActivity() {
}
override fun onPause() {
ServiceManager.pause()
if (BuildConfig.DEBUG) {
debugState(this)
}
ServiceManager.pause()
super.onPause()
}