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

am: d3ffd42b19

Change-Id: Ide26ef75790cf6a5ba6ca4828a163a53c78111f2
This commit is contained in:
robinz1x
2018-12-10 15:53:27 -08:00
committed by android-build-merger

View File

@@ -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");
}
}