Some more minor changes
This commit is contained in:
parent
0f0d610465
commit
2cf584b74b
|
@ -23,12 +23,12 @@ object AppLifecycleObserver : DefaultLifecycleObserver {
|
|||
|
||||
override fun onStart(owner: LifecycleOwner) {
|
||||
editor.putBoolean(KEY_IS_IN_BACKGROUND, false).commit()
|
||||
Log.d(TAG, "App moved to foreground: ")
|
||||
Log.d(TAG, "App moved to foreground")
|
||||
}
|
||||
|
||||
override fun onPause(owner: LifecycleOwner) {
|
||||
editor.putBoolean(KEY_IS_IN_BACKGROUND, true).commit()
|
||||
Log.d(TAG, "App moved to background: ")
|
||||
Log.d(TAG, "App moved to background")
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -36,8 +36,7 @@ class ErrorUtil {
|
|||
* activity (since the workflow would be interrupted anyway in that case). So never use this
|
||||
* for background services.
|
||||
*
|
||||
* If this method is called was called while the app was in the background previously open
|
||||
* a notification instead
|
||||
* If the crashed while the app was in the background open a notification instead
|
||||
*
|
||||
* @param context the context to use to start the new activity
|
||||
* @param errorInfo the error info to be reported
|
||||
|
|
Loading…
Reference in New Issue