Migrate CheckForNewAppVersion to JobIntentService
This commit is contained in:
parent
0f175de599
commit
81fef1be19
4 changed files with 12 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue