Merge "Use getCompressedSizeLong to get correct size for 2G file"
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user