From e8d969f03282ff8fb1bcad8130e5e55b825d8805 Mon Sep 17 00:00:00 2001 From: "David A. Velasco" Date: Wed, 16 Apr 2014 19:30:01 +0200 Subject: [PATCH] Allow instant upload of new videos although not using Wi-Fi, with the same policy as pictures --- src/com/owncloud/android/files/InstantUploadBroadcastReceiver.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/com/owncloud/android/files/InstantUploadBroadcastReceiver.java b/src/com/owncloud/android/files/InstantUploadBroadcastReceiver.java index b0a361aa..627aec8c 100644 --- a/src/com/owncloud/android/files/InstantUploadBroadcastReceiver.java +++ b/src/com/owncloud/android/files/InstantUploadBroadcastReceiver.java @@ -118,10 +118,6 @@ public class InstantUploadBroadcastReceiver extends BroadcastReceiver { Log_OC.w(TAG, "New photo received"); } else if (intent.getAction().equals(NEW_VIDEO_ACTION)) { - if (!isConnectedViaWiFi(context)) { - Log_OC.e(TAG, "No Wifi available .. Video instant upload only possible if WiFi is on"); - return; - } String[] CONTENT_PROJECTION = { Video.Media.DATA, Video.Media.DISPLAY_NAME, Video.Media.MIME_TYPE, Video.Media.SIZE }; c = context.getContentResolver().query(intent.getData(), CONTENT_PROJECTION, null, null, null); if (!c.moveToFirst()) { -- 2.11.0