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

Commit ee1720cf authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Use getCompressedSizeLong to get correct size for 2G file"

parents 8f9f382c 7a7b240c
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -200,7 +200,7 @@ class MtpManager {
            }
            }
            if (objectInfo.getFormat() != MtpConstants.FORMAT_ASSOCIATION) {
            if (objectInfo.getFormat() != MtpConstants.FORMAT_ASSOCIATION) {
                if (!device.sendObject(sendObjectInfoResult.getObjectHandle(),
                if (!device.sendObject(sendObjectInfoResult.getObjectHandle(),
                        sendObjectInfoResult.getCompressedSize(), source)) {
                        sendObjectInfoResult.getCompressedSizeLong(), source)) {
                    throw new IOException("Failed to send contents of a document");
                    throw new IOException("Failed to send contents of a document");
                }
                }
            }
            }