From 1865a5ddcfe7b0e8dc211419aea1094b1491a5fd Mon Sep 17 00:00:00 2001 From: Mike Lockwood Date: Sat, 3 Jul 2010 00:44:05 -0400 Subject: MTP: Use media provider database to implement MTP device support. Uses a new "MTP objects" table in the media provider to support basic enumeration of the external storage file system. Support for accessing audio, video and image metadata in the existing media provider tables will be added in a later commit. The C++ MtpDatabase class is now abstract, to support a proxy subclass that calls through JNI to the Java MtpDatabase class in the media provider. Change-Id: I90f0db5f3acc5d35ae78c27a8507edff16d14305 Signed-off-by: Mike Lockwood --- media/mtp/MtpDataPacket.h | 1 + 1 file changed, 1 insertion(+) (limited to 'media/mtp/MtpDataPacket.h') diff --git a/media/mtp/MtpDataPacket.h b/media/mtp/MtpDataPacket.h index 146ef64..759c0f9 100644 --- a/media/mtp/MtpDataPacket.h +++ b/media/mtp/MtpDataPacket.h @@ -79,6 +79,7 @@ public: void putAUInt64(const uint64_t* values, int count); void putString(const MtpStringBuffer& string); void putString(const char* string); + void putString(const uint16_t* string); inline void putEmptyString() { putUInt16(0); } inline void putEmptyArray() { putUInt32(0); } -- cgit v1.1