Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e15865c6 authored by Fahim Salam Chowdhury's avatar Fahim Salam Chowdhury 👽 Committed by Vincent Bourgmayer
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent 5fbab34d
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -40,7 +40,9 @@ public class FileDiffUtils {
        if (hasAlreadyBeenDownloaded(fileState) && !hasEtagChanged(remoteFile, fileState)) {
            return Action.skip;
        }

        final File localFile = new File(fileState.getLocalPath());

        if (isRemoteSizeSameAsLocalSize(remoteFile, localFile)) {
            return Action.updateDB;
        }