From: Philip L. <ph...@ov...> - 2018-03-15 03:21:07
|
On Tue, 13 Mar 2018 12:50:30 -0700 Jerry Zhang <zha...@go...> wrote: > > > > Completely separately, is the issue of > > DEVICE_FLAG_PROPLIST_OVERRIDES_OI Based on my testing, and your > > understanding of the device code, this flag shouldn't be set for > > Nexus/Pixel devices. > > > Yes. I've added logging to the code where it serializes data into the > buffer for writing, and at that moment, on a P device, it is not being > truncated. I haven't yet done a similar check for pre-P devices, so > if you let me know what version you are seeing the truncation > behavior on, I can pull out the sniffer and investigate further. Sorry - I wasn't saying the device was truncating it. I was saying the libmtp code is reading the ObjectSize property and then truncating it if it's a 64bit value in certain situations. I don't understand why it does that, but at the end of the day there's a code path that works which is the one that gets used in the right places. --phil |