kopia lustrzana https://github.com/vitorpamplona/amethyst
Pauses the service only after the debug messages
rodzic
15ce0b3e05
commit
4eea36678e
|
@ -128,12 +128,11 @@ class MainActivity : AppCompatActivity() {
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onPause() {
|
override fun onPause() {
|
||||||
ServiceManager.pause()
|
|
||||||
|
|
||||||
if (BuildConfig.DEBUG) {
|
if (BuildConfig.DEBUG) {
|
||||||
debugState(this)
|
debugState(this)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ServiceManager.pause()
|
||||||
super.onPause()
|
super.onPause()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue