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

Commit b829f097 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android (Google) Code Review
Browse files

Merge "Allow adding of completed empty files." into jb-dev

parents 3b5a7089 33f95eda
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");
        }