summaryrefslogtreecommitdiffstats
path: root/media/mtp/MtpDatabase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'media/mtp/MtpDatabase.cpp')
-rw-r--r--media/mtp/MtpDatabase.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/media/mtp/MtpDatabase.cpp b/media/mtp/MtpDatabase.cpp
index bb44ab6..8f6c75d 100644
--- a/media/mtp/MtpDatabase.cpp
+++ b/media/mtp/MtpDatabase.cpp
@@ -22,6 +22,8 @@
#include <stdio.h>
#include <sqlite3.h>
+namespace android {
+
#define ID_COLUMN 1
#define PATH_COLUMN 2
#define FORMAT_COLUMN 3
@@ -51,7 +53,6 @@
#define FILE_INSERT "INSERT INTO files VALUES(?,?,?,?,?,?,?,?);"
#define FILE_DELETE "DELETE FROM files WHERE path = ?;"
-
struct PropertyTableEntry {
MtpObjectProperty property;
int type;
@@ -384,3 +385,5 @@ printf("deleteFile %d\n", handle);
packet.putUInt8(formFlag);
// form, variable
*/
+
+} // namespace android