-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move checking for new version to MainAcitvity
When the service is started from the Application class, the app might be still in the background. This is definetly not the case when MainActivity.onCreate() is called. Fixes #7227
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,8 +43,6 @@ | |
import io.reactivex.rxjava3.functions.Consumer; | ||
import io.reactivex.rxjava3.plugins.RxJavaPlugins; | ||
|
||
import static org.schabi.newpipe.CheckForNewAppVersion.startNewVersionCheckService; | ||
|
||
/* | ||
* Copyright (C) Hans-Christoph Steiner 2016 <[email protected]> | ||
* App.java is part of NewPipe. | ||
|
@@ -113,9 +111,6 @@ public void onCreate() { | |
&& prefs.getBoolean(getString(R.string.show_image_indicators_key), false)); | ||
|
||
configureRxJavaErrorHandler(); | ||
|
||
// Check for new version | ||
startNewVersionCheckService(); | ||
} | ||
|
||
@Override | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters