summaryrefslogtreecommitdiffstats
path: root/media/mtp/MtpUtils.cpp
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2010-05-14 10:10:36 -0400
committerMike Lockwood <lockwood@android.com>2010-05-14 10:10:36 -0400
commit8d3257a7dc10e1b3fda03e00f40d1b65d699ff23 (patch)
tree8a84411c35a1c47348786f5e034a365f51647d42 /media/mtp/MtpUtils.cpp
parent77b8e6149e497cedbd98c7fae83886be0d6fb215 (diff)
downloadframeworks_base-8d3257a7dc10e1b3fda03e00f40d1b65d699ff23.zip
frameworks_base-8d3257a7dc10e1b3fda03e00f40d1b65d699ff23.tar.gz
frameworks_base-8d3257a7dc10e1b3fda03e00f40d1b65d699ff23.tar.bz2
Move MTP code to the android namespace
Change-Id: I5da48038fd5e4cdeefaeba42cdc74eb588b3448d Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'media/mtp/MtpUtils.cpp')
-rw-r--r--media/mtp/MtpUtils.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/media/mtp/MtpUtils.cpp b/media/mtp/MtpUtils.cpp
index a472781..77692cd 100644
--- a/media/mtp/MtpUtils.cpp
+++ b/media/mtp/MtpUtils.cpp
@@ -19,6 +19,8 @@
#include <cutils/tztime.h>
#include "MtpUtils.h"
+namespace android {
+
/*
DateTime strings follow a compatible subset of the definition found in ISO 8601, and
take the form of a Unicode string formatted as: "YYYYMMDDThhmmss.s". In this
@@ -70,4 +72,4 @@ void formatDateTime(time_t seconds, char* buffer, int bufferLength) {
tm.tm_year + 1900, tm.tm_mon, tm.tm_mday, tm.tm_hour, tm.tm_min, tm.tm_sec);
}
-
+} // namespace android