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

Commit 33f95eda authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Allow adding of completed empty files.

Bug: 5281354
Change-Id: I375c3c7ff4ccbb554204ad53a90d35ff4790af6c
parent f2dc6fc4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1155,7 +1155,7 @@ public class DownloadManager {
        validateArgumentIsNonEmpty("description", description);
        validateArgumentIsNonEmpty("path", path);
        validateArgumentIsNonEmpty("mimeType", mimeType);
        if (length <= 0) {
        if (length < 0) {
            throw new IllegalArgumentException(" invalid value for param: totalBytes");
        }