浏览代码

in case of sharedPref not accessible fallback to "do nothing"

tobiasKaminsky 8 年之前
父节点
当前提交
b15fa8fc5e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/com/owncloud/android/files/InstantUploadBroadcastReceiver.java

+ 1 - 1
src/com/owncloud/android/files/InstantUploadBroadcastReceiver.java

@@ -164,7 +164,7 @@ public class InstantUploadBroadcastReceiver extends BroadcastReceiver {
             Log_OC.d(TAG, "upload file and delete original file");
             return FileUploader.LOCAL_BEHAVIOUR_DELETE;
         }
-        return null;
+        return FileUploader.LOCAL_BEHAVIOUR_FORGET;
     }
 
     private void handleNewVideoAction(Context context, Intent intent) {