Skip to content

Commit 7eb13a9

Browse files
authored
Merge pull request #7232 from TeamNewPipe/release/0.21.12
Fix check for new Version and release 0.21.12
2 parents e0ba9b3 + 7c9896b commit 7eb13a9

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ android {
1717
resValue "string", "app_name", "NewPipe"
1818
minSdkVersion 19
1919
targetSdkVersion 29
20-
versionCode 977
21-
versionName "0.21.11"
20+
versionCode 978
21+
versionName "0.21.12"
2222

2323
multiDexEnabled true
2424

app/src/main/java/org/schabi/newpipe/App.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@
4343
import io.reactivex.rxjava3.functions.Consumer;
4444
import io.reactivex.rxjava3.plugins.RxJavaPlugins;
4545

46-
import static org.schabi.newpipe.CheckForNewAppVersion.startNewVersionCheckService;
47-
4846
/*
4947
* Copyright (C) Hans-Christoph Steiner 2016 <[email protected]>
5048
* App.java is part of NewPipe.
@@ -113,9 +111,6 @@ public void onCreate() {
113111
&& prefs.getBoolean(getString(R.string.show_image_indicators_key), false));
114112

115113
configureRxJavaErrorHandler();
116-
117-
// Check for new version
118-
startNewVersionCheckService();
119114
}
120115

121116
@Override

app/src/main/java/org/schabi/newpipe/MainActivity.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020

2121
package org.schabi.newpipe;
2222

23+
import static org.schabi.newpipe.CheckForNewAppVersion.startNewVersionCheckService;
24+
2325
import android.content.BroadcastReceiver;
2426
import android.content.Context;
2527
import android.content.Intent;
@@ -163,6 +165,9 @@ protected void onCreate(final Bundle savedInstanceState) {
163165
FocusOverlayView.setupFocusObserver(this);
164166
}
165167
openMiniPlayerUponPlayerStarted();
168+
169+
// Check for new version
170+
startNewVersionCheckService();
166171
}
167172

168173
private void setupDrawer() throws Exception {
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixed executing the check for a new NewPipe version. This check was executed too early sometimes and therefore lead to an app crash. That should be fixed now.

0 commit comments

Comments
 (0)