wrong method called :/

This commit is contained in:
tobiasKaminsky 2016-10-06 20:39:00 +02:00
parent 7525088db2
commit 7a5965dd3f

View file

@ -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));
}