mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
Fix 4g retry
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
f6ae6784e9
commit
f606e88a89
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ public class ReceiversHelper {
|
||||||
BroadcastReceiver broadcastReceiver = new BroadcastReceiver() {
|
BroadcastReceiver broadcastReceiver = new BroadcastReceiver() {
|
||||||
@Override
|
@Override
|
||||||
public void onReceive(Context context, Intent intent) {
|
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();
|
FilesSyncHelper.restartJobsIfNeeded();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue