This commit is contained in:
Mario Đanić 2017-09-23 06:20:22 +00:00 committed by GitHub
commit 1f7f521403

View file

@ -44,7 +44,7 @@ public class ReceiversHelper {
BroadcastReceiver broadcastReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
if (Device.getNetworkType(context).equals(JobRequest.NetworkType.UNMETERED)) {
if (!Device.getNetworkType(context).equals(JobRequest.NetworkType.ANY)) {
FilesSyncHelper.restartJobsIfNeeded();
}
}