소스 검색

Stop trimming uploads

Signed-off-by: Mario Danic <mario@lovelyhq.com>
Mario Danic 7 년 전
부모
커밋
3c79642bb3
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      src/main/java/com/owncloud/android/providers/FileContentProvider.java

+ 0 - 2
src/main/java/com/owncloud/android/providers/FileContentProvider.java

@@ -316,7 +316,6 @@ public class FileContentProvider extends ContentProvider {
                 if (uploadId > 0) {
                 if (uploadId > 0) {
                     insertedUploadUri =
                     insertedUploadUri =
                             ContentUris.withAppendedId(ProviderTableMeta.CONTENT_URI_UPLOADS, uploadId);
                             ContentUris.withAppendedId(ProviderTableMeta.CONTENT_URI_UPLOADS, uploadId);
-                    trimSuccessfulUploads(db);
                 } else {
                 } else {
                     throw new SQLException(ERROR + uri);
                     throw new SQLException(ERROR + uri);
 
 
@@ -619,7 +618,6 @@ public class FileContentProvider extends ContentProvider {
                 return db.update(ProviderTableMeta.CAPABILITIES_TABLE_NAME, values, selection, selectionArgs);
                 return db.update(ProviderTableMeta.CAPABILITIES_TABLE_NAME, values, selection, selectionArgs);
             case UPLOADS:
             case UPLOADS:
                 int ret = db.update(ProviderTableMeta.UPLOADS_TABLE_NAME, values, selection, selectionArgs);
                 int ret = db.update(ProviderTableMeta.UPLOADS_TABLE_NAME, values, selection, selectionArgs);
-                trimSuccessfulUploads(db);
                 return ret;
                 return ret;
             case SYNCED_FOLDERS:
             case SYNCED_FOLDERS:
                 return db.update(ProviderTableMeta.SYNCED_FOLDERS_TABLE_NAME, values, selection, selectionArgs);
                 return db.update(ProviderTableMeta.SYNCED_FOLDERS_TABLE_NAME, values, selection, selectionArgs);