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

Commit 886c64d1 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

am: d3ffd42b

Change-Id: Ide26ef75790cf6a5ba6ca4828a163a53c78111f2
parents 41c1d316 d3ffd42b
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");
                }
            }