Răsfoiți Sursa

store info that file is encrypted

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky 7 ani în urmă
părinte
comite
b0a1152a75

+ 1 - 0
src/main/java/com/owncloud/android/datamodel/FileDataStorageManager.java

@@ -191,6 +191,7 @@ public class FileDataStorageManager {
         cv.put(ProviderTableMeta.FILE_PARENT, file.getParentId());
         cv.put(ProviderTableMeta.FILE_PATH, file.getRemotePath());
         if (!file.isFolder()) {
+            cv.put(ProviderTableMeta.FILE_IS_ENCRYPTED, file.isEncrypted());
             cv.put(ProviderTableMeta.FILE_STORAGE_PATH, file.getStoragePath());
         }
         cv.put(ProviderTableMeta.FILE_ACCOUNT_OWNER, mAccount.name);