Revert chunked stuff

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2017-07-30 12:10:50 +02:00 committed by AndyScherzinger
parent 1e472fc701
commit 9480c42c72
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -497,11 +497,6 @@ public class FileUploader extends Service
boolean chunked = ocv.isChunkedUploadSupported();
// temporary hack to speed up upload on wifi
if (Device.getNetworkType(MainApp.getAppContext()).equals(JobRequest.NetworkType.UNMETERED)) {
chunked = false;
}
boolean onWifiOnly = intent.getBooleanExtra(KEY_WHILE_ON_WIFI_ONLY, false);
boolean whileChargingOnly = intent.getBooleanExtra(KEY_WHILE_CHARGING_ONLY, false);