mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-29 14:38:45 +03:00
Increase some log level
This commit is contained in:
parent
ac0af80e48
commit
ec3512fd5b
1 changed files with 2 additions and 2 deletions
|
@ -49,13 +49,13 @@ internal class DefaultBackgroundDetectionObserver : BackgroundDetectionObserver
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onStart(owner: LifecycleOwner) {
|
override fun onStart(owner: LifecycleOwner) {
|
||||||
Timber.v("App returning to foreground…")
|
Timber.d("App returning to foreground…")
|
||||||
isInBackground = false
|
isInBackground = false
|
||||||
listeners.forEach { it.onMoveToForeground() }
|
listeners.forEach { it.onMoveToForeground() }
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onStop(owner: LifecycleOwner) {
|
override fun onStop(owner: LifecycleOwner) {
|
||||||
Timber.v("App going to background…")
|
Timber.d("App going to background…")
|
||||||
isInBackground = true
|
isInBackground = true
|
||||||
listeners.forEach { it.onMoveToBackground() }
|
listeners.forEach { it.onMoveToBackground() }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue