MTP: replace printfs with logcat
Change-Id: I2c30921098e2dc049dc5fc1e0a548ead33c363e0
Signed-off-by: Mike Lockwood <lockwood@android.com>
diff --git a/media/mtp/MtpStorage.cpp b/media/mtp/MtpStorage.cpp
index ed2376e..7e89a90 100644
--- a/media/mtp/MtpStorage.cpp
+++ b/media/mtp/MtpStorage.cpp
@@ -14,6 +14,9 @@
* limitations under the License.
*/
+#define LOG_TAG "MtpStorage"
+
+#include "MtpDebug.h"
#include "MtpDatabase.h"
#include "MtpStorage.h"
#include "MtpMediaScanner.h"
@@ -36,7 +39,7 @@
mDatabase(db),
mMaxCapacity(0)
{
- printf("MtpStorage id: %d path: %s\n", id, filePath);
+ LOGD("MtpStorage id: %d path: %s\n", id, filePath);
}
MtpStorage::~MtpStorage() {