Skip to content

Commit 2cf584b

Browse files
committed
Some more minor changes
1 parent 0f0d610 commit 2cf584b

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

app/src/main/java/org/schabi/newpipe/error/AppLifecycleObserver.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ object AppLifecycleObserver : DefaultLifecycleObserver {
2323

2424
override fun onStart(owner: LifecycleOwner) {
2525
editor.putBoolean(KEY_IS_IN_BACKGROUND, false).commit()
26-
Log.d(TAG, "App moved to foreground: ")
26+
Log.d(TAG, "App moved to foreground")
2727
}
2828

2929
override fun onPause(owner: LifecycleOwner) {
3030
editor.putBoolean(KEY_IS_IN_BACKGROUND, true).commit()
31-
Log.d(TAG, "App moved to background: ")
31+
Log.d(TAG, "App moved to background")
3232
}
3333

3434

app/src/main/java/org/schabi/newpipe/error/ErrorUtil.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ class ErrorUtil {
3636
* activity (since the workflow would be interrupted anyway in that case). So never use this
3737
* for background services.
3838
*
39-
* If this method is called was called while the app was in the background previously open
40-
* a notification instead
39+
* If the crashed while the app was in the background open a notification instead
4140
*
4241
* @param context the context to use to start the new activity
4342
* @param errorInfo the error info to be reported

0 commit comments

Comments
 (0)