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

Commit d3ffd42b authored by robinz1x's avatar robinz1x Committed by android-build-merger
Browse files

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

am: ee1720cf

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