Don't update repos when opening the app yet
As the comment says, this should not be on until it can be opted out from. The biggest problem is unwanted repo updates, e.g. when a user is on a mobile connection. Fixes #435.
This commit is contained in:
parent
995036f4e4
commit
89607eb58a
@ -99,9 +99,12 @@ public class FDroid extends ActionBarActivity {
|
|||||||
|
|
||||||
InstallExtensionDialogActivity.firstTime(this);
|
InstallExtensionDialogActivity.firstTime(this);
|
||||||
|
|
||||||
if (UpdateService.isNetworkAvailableForUpdate(this)) {
|
// Re-enable once it can be disabled via a setting
|
||||||
UpdateService.updateNow(this);
|
// See https://gitlab.com/fdroid/fdroidclient/issues/435
|
||||||
}
|
//
|
||||||
|
// if (UpdateService.isNetworkAvailableForUpdate(this)) {
|
||||||
|
// UpdateService.updateNow(this);
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user