Skip to content

Commit

Permalink
Merge pull request #2015 from moneymanagerex/saf
Browse files Browse the repository at this point in the history
Crash: set default getRemoteFileModifiedDate
  • Loading branch information
guanlisheng authored Dec 27, 2024
2 parents 23adcdd + fbbcae2 commit 5065f5c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit 5065f5c

Please sign in to comment.