|
From: Philip L. <ph...@ov...> - 2018-03-16 04:59:02
|
These calls have been in the MTP spec since the beginning but, despite their obvious utility, have seemingly never been implemented by any device, ever. But times, they are changing. Yesterday, I noticed that my phone running the Android P preview was declaring support for these operations, so I decided to implement support and try them out - and indeed, they do what they claim to do. Supporting them is simple enough, and mostly just mechanical work. Philip Langdale (2): ptp: Implement MoveObject and CopyObject libmtp: Implement MoveObject and CopyObject src/libmtp.c | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/libmtp.h.in | 12 +++++++++ src/libmtp.sym | 2 ++ src/ptp.c | 47 ++++++++++++++++++++++++++++++++++ src/ptp.h | 6 +++++ 5 files changed, 146 insertions(+) -- 2.14.1 |