MTP: replace printfs with logcat

Change-Id: I2c30921098e2dc049dc5fc1e0a548ead33c363e0
Signed-off-by: Mike Lockwood <lockwood@android.com>
diff --git a/media/mtp/SqliteDatabase.cpp b/media/mtp/SqliteDatabase.cpp
index e115630..1de3a41 100644
--- a/media/mtp/SqliteDatabase.cpp
+++ b/media/mtp/SqliteDatabase.cpp
@@ -14,6 +14,9 @@
  * limitations under the License.
  */
 
+#define LOG_TAG "SqliteDatabase"
+
+#include "MtpDebug.h"
 #include "SqliteDatabase.h"
 #include "SqliteStatement.h"
 
@@ -37,7 +40,7 @@
     // SQLITE_OPEN_NOMUTEX?
     int ret = sqlite3_open_v2(path, &mDatabaseHandle, flags, NULL);
     if (ret) {
-        fprintf(stderr, "could not open database\n");
+        LOGE("could not open database\n");
         return false;
     }
     return true;