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

Commit f19ccf53 authored by Nishith  Khanna's avatar Nishith Khanna
Browse files

Merge remote-tracking branch 'origin/lineage-21.0' into v1-u

parents 8fbe5832 6de8209c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -580,6 +580,8 @@ public final class FileUtils {
                           ", copied:" + progress +
                           ", read:" + (count - countToRead) +
                           ", in pipe: " + countInPipe);
                    Os.close(pipes[0]);
                    Os.close(pipes[1]);
                    throw new ErrnoException("splice, pipe --> fdOut", EIO);
                } else {
                    progress += t;
@@ -607,6 +609,8 @@ public final class FileUtils {
                listener.onProgress(progressSnapshot);
            });
        }
        Os.close(pipes[0]);
        Os.close(pipes[1]);
        return progress;
    }