Add a comment
This commit is contained in:
parent
666b6a8323
commit
2c50cc29f2
1 changed files with 1 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ public class UpdateSettingsFragment extends BasePreferenceFragment {
|
||||||
.putBoolean(getString(R.string.update_app_key), (boolean) checkForUpdates).apply();
|
.putBoolean(getString(R.string.update_app_key), (boolean) checkForUpdates).apply();
|
||||||
|
|
||||||
if ((boolean) checkForUpdates) {
|
if ((boolean) checkForUpdates) {
|
||||||
|
// Search for updates immediately when update checks are enabled.
|
||||||
// Reset the expire time. This is necessary to check for an update immediately.
|
// Reset the expire time. This is necessary to check for an update immediately.
|
||||||
defaultPreferences.edit()
|
defaultPreferences.edit()
|
||||||
.putLong(getString(R.string.update_expiry_key), 0).apply();
|
.putLong(getString(R.string.update_expiry_key), 0).apply();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue