summaryrefslogtreecommitdiffstats
path: root/media/mtp/MtpPacket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'media/mtp/MtpPacket.cpp')
-rw-r--r--media/mtp/MtpPacket.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/media/mtp/MtpPacket.cpp b/media/mtp/MtpPacket.cpp
index 26a9460..5b3e2af 100644
--- a/media/mtp/MtpPacket.cpp
+++ b/media/mtp/MtpPacket.cpp
@@ -22,6 +22,8 @@
#include "MtpPacket.h"
+namespace android {
+
MtpPacket::MtpPacket(int bufferSize)
: mBuffer(NULL),
mBufferSize(bufferSize),
@@ -134,3 +136,5 @@ int MtpPacket::transfer(struct usb_endpoint *ep, void* buffer, int length) {
return usb_endpoint_wait(usb_endpoint_get_device(ep), &ep_num);
}
#endif
+
+} // namespace android