summaryrefslogtreecommitdiffstats
path: root/media/mtp/scantest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'media/mtp/scantest.cpp')
-rw-r--r--media/mtp/scantest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/mtp/scantest.cpp b/media/mtp/scantest.cpp
index f910bb6..3702a5d 100644
--- a/media/mtp/scantest.cpp
+++ b/media/mtp/scantest.cpp
@@ -16,7 +16,7 @@
#include <stdio.h>
-#include "MtpDatabase.h"
+#include "MtpSqliteDatabase.h"
#include "MtpMediaScanner.h"
using namespace android;
@@ -27,7 +27,7 @@ int main(int argc, char* argv[]) {
return -1;
}
- MtpDatabase* database = new MtpDatabase();
+ MtpSqliteDatabase* database = new MtpSqliteDatabase();
database->open("scantest.db", true);
MtpMediaScanner scanner(1, argv[1], database);