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:
Daniel Martí 2015-10-07 10:58:09 +02:00
parent 995036f4e4
commit 89607eb58a

View File

@ -99,9 +99,12 @@ public class FDroid extends ActionBarActivity {
InstallExtensionDialogActivity.firstTime(this);
if (UpdateService.isNetworkAvailableForUpdate(this)) {
UpdateService.updateNow(this);
}
// Re-enable once it can be disabled via a setting
// See https://gitlab.com/fdroid/fdroidclient/issues/435
//
// if (UpdateService.isNetworkAvailableForUpdate(this)) {
// UpdateService.updateNow(this);
// }
}
@Override