Run update check service only in background

This commit is contained in:
topjohnwu
2019-04-08 15:44:05 -04:00
parent fc0df84edd
commit f187213568
3 changed files with 7 additions and 3 deletions

View File

@@ -158,7 +158,6 @@ public class Utils {
ExistingPeriodicWorkPolicy.REPLACE, request);
} else {
WorkManager.getInstance().cancelUniqueWork(Const.ID.CHECK_MAGISK_UPDATE_WORKER_ID);
CheckUpdates.check();
}
}