Skip to content

Commit

Permalink
Update app/src/main/java/com/owncloud/android/utils/FilesSyncHelper.java
Browse files Browse the repository at this point in the history
Co-authored-by: Tom <[email protected]>
Signed-off-by: Jonas Mayer <[email protected]>
  • Loading branch information
JonasMayerDev and ZetaTom authored Apr 16, 2024
1 parent 3347abb commit e544e24
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ private static void insertContentIntoDB(Uri uri, SyncedFolder syncedFolder, long
continue;
}

if (syncedFolder.isExisting() || cursor.getLong(column_index_date_modified) >= enabledTimestampMs / 1000.0) {
if (syncedFolder.isExisting() || cursor.getLong(column_index_date_modified) >= enabledTimestampMs / 1000) {
// storeOrUpdateFileValue takes a few ms
// -> Rest of this file check takes not even 1 ms.
filesystemDataProvider.storeOrUpdateFileValue(contentPath,
Expand Down

0 comments on commit e544e24

Please sign in to comment.