Migrate CheckForNewAppVersion to JobIntentService

This commit is contained in:
TacoTheDank 2022-03-03 13:24:12 -05:00
parent 0f175de599
commit 81fef1be19
4 changed files with 12 additions and 13 deletions

View file

@ -33,7 +33,7 @@ public class UpdateSettingsFragment extends BasePreferenceFragment {
// Reset the expire time. This is necessary to check for an update immediately.
defaultPreferences.edit()
.putLong(getString(R.string.update_expiry_key), 0).apply();
startNewVersionCheckService();
startNewVersionCheckService(getContext());
}
@Override