Loading app/src/main/java/foundation/e/drive/utils/FileDiffUtils.java +5 −2 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ * which accompanies this distribution, and is available at * http://www.gnu.org/licenses/gpl.html */ package foundation.e.drive.utils; import android.util.Log; Loading Loading @@ -42,12 +43,14 @@ 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; } else { return Action.Download; } return Action.Download; } Loading app/src/main/java/foundation/e/drive/services/ObserverService.java +2 −2 File changed.Contains only whitespace changes. Show changes Loading
app/src/main/java/foundation/e/drive/utils/FileDiffUtils.java +5 −2 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ * which accompanies this distribution, and is available at * http://www.gnu.org/licenses/gpl.html */ package foundation.e.drive.utils; import android.util.Log; Loading Loading @@ -42,12 +43,14 @@ 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; } else { return Action.Download; } return Action.Download; } Loading
app/src/main/java/foundation/e/drive/services/ObserverService.java +2 −2 File changed.Contains only whitespace changes. Show changes