From fbbcae25a2fdadb182fb1e16b22a5751cd75ad19 Mon Sep 17 00:00:00 2001 From: Lisheng Guan Date: Fri, 27 Dec 2024 16:30:01 +0800 Subject: [PATCH] Crash: set default getRemoteFileModifiedDate --- .../com/money/manager/ex/core/docstorage/FileStorageHelper.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/money/manager/ex/core/docstorage/FileStorageHelper.java b/app/src/main/java/com/money/manager/ex/core/docstorage/FileStorageHelper.java index a6cb656a6..aee48c2b4 100644 --- a/app/src/main/java/com/money/manager/ex/core/docstorage/FileStorageHelper.java +++ b/app/src/main/java/com/money/manager/ex/core/docstorage/FileStorageHelper.java @@ -255,6 +255,7 @@ private DocFileMetadata getRemoteMetadata(Uri uri) { DocFileMetadata result = new DocFileMetadata(); result.Uri = uri.toString(); + result.lastModified = new MmxDate(0); try (Cursor cursor = host.getContentResolver().query(uri, null, null, null, null, null)) { if (cursor == null || !cursor.moveToFirst()) {