Charging constraint is related to auto download only
This commit is contained in:
parent
dbda4a9aa8
commit
cd5224d01b
|
@ -68,7 +68,6 @@ public class AutoUpdateManager {
|
|||
} else {
|
||||
constraints.setRequiredNetworkType(NetworkType.UNMETERED);
|
||||
}
|
||||
constraints.setRequiresCharging(!UserPreferences.isEnableAutodownloadOnBattery());
|
||||
return constraints.build();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue