mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 21:55:48 +03:00
wrong method called :/
This commit is contained in:
parent
7525088db2
commit
7a5965dd3f
1 changed files with 2 additions and 4 deletions
|
@ -485,11 +485,9 @@ public class UploadFileOperation extends SyncOperation {
|
|||
boolean delayInstantPicture = isInstantPicture() &&
|
||||
PreferenceManager.instantPictureUploadWhenChargingOnly(mContext);
|
||||
|
||||
boolean delayInstantVideo = isInstantVideo() &&
|
||||
PreferenceManager.instantVideoUploadViaWiFiOnly(mContext);
|
||||
boolean delayInstantVideo = isInstantVideo() && PreferenceManager.instantVideoUploadWhenChargingOnly(mContext);
|
||||
|
||||
return ((delayInstantPicture || delayInstantVideo)
|
||||
&& !ConnectivityUtils.isCharging(mContext));
|
||||
return ((delayInstantPicture || delayInstantVideo) && !ConnectivityUtils.isCharging(mContext));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue