mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-25 18:11:15 +02:00
Pauses the service only after the debug messages
This commit is contained in:
@@ -128,12 +128,11 @@ class MainActivity : AppCompatActivity() {
|
||||
}
|
||||
|
||||
override fun onPause() {
|
||||
ServiceManager.pause()
|
||||
|
||||
if (BuildConfig.DEBUG) {
|
||||
debugState(this)
|
||||
}
|
||||
|
||||
ServiceManager.pause()
|
||||
super.onPause()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user