1
0
Fork 0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2025-10-04 18:29:26 +02:00

Move utility methods out of CheckForNewAppVersion

This commit is contained in:
TacoTheDank 2022-03-03 13:19:06 -05:00
parent b8e389c6e8
commit 1602befc51
5 changed files with 121 additions and 123 deletions

View file

@ -20,7 +20,6 @@
package org.schabi.newpipe;
import static org.schabi.newpipe.CheckForNewAppVersion.startNewVersionCheckService;
import static org.schabi.newpipe.util.Localization.assureCorrectAppLanguage;
import android.content.BroadcastReceiver;
@ -177,7 +176,7 @@ public class MainActivity extends AppCompatActivity {
// 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();
CheckForNewAppVersion.startNewVersionCheckService();
}
}