Merge pull request #7268 from TeamNewPipe/release/0.21.13

Release 0.21.13
- Fix playback resume
- Ensure that the service for new version checks is not started in background
This commit is contained in:
Tobi 2021-10-21 20:51:01 +02:00 committed by GitHub
commit 44cad27d0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 45 additions and 8 deletions

View file

@ -164,8 +164,14 @@ public class MainActivity extends AppCompatActivity {
FocusOverlayView.setupFocusObserver(this);
}
openMiniPlayerUponPlayerStarted();
}
// Check for new version
@Override
protected void onPostCreate(final Bundle savedInstanceState) {
super.onPostCreate(savedInstanceState);
// Start the service which is checking all conditions
// and eventually searching for a new version.
// The service searching for a new NewPipe version must not be started in background.
startNewVersionCheckService();
}