Charging constraint is related to auto download only

This commit is contained in:
ByteHamster 2019-05-06 23:08:45 +02:00
parent dbda4a9aa8
commit cd5224d01b
1 changed files with 0 additions and 1 deletions

View File

@ -68,7 +68,6 @@ public class AutoUpdateManager {
} else { } else {
constraints.setRequiredNetworkType(NetworkType.UNMETERED); constraints.setRequiredNetworkType(NetworkType.UNMETERED);
} }
constraints.setRequiresCharging(!UserPreferences.isEnableAutodownloadOnBattery());
return constraints.build(); return constraints.build();
} }
} }