summaryrefslogtreecommitdiffstats
path: root/media/mtp/MtpStorage.cpp
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2010-06-29 18:11:52 -0400
committerMike Lockwood <lockwood@android.com>2010-06-30 13:59:32 -0400
commitb14e588bec4d5e39e61b020b5b575f2ce555d316 (patch)
treef4d08eaa3bd5832b3bfebbdb9d19c8fcde45b54e /media/mtp/MtpStorage.cpp
parent703f87c890591e3a20ba0da237233c36a7c47bc7 (diff)
downloadframeworks_av-b14e588bec4d5e39e61b020b5b575f2ce555d316.zip
frameworks_av-b14e588bec4d5e39e61b020b5b575f2ce555d316.tar.gz
frameworks_av-b14e588bec4d5e39e61b020b5b575f2ce555d316.tar.bz2
MTP: replace printfs with logcat
Change-Id: I2c30921098e2dc049dc5fc1e0a548ead33c363e0 Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'media/mtp/MtpStorage.cpp')
-rw-r--r--media/mtp/MtpStorage.cpp5
1 files changed, 4 insertions, 1 deletions
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 @@ MtpStorage::MtpStorage(MtpStorageID id, const char* filePath, MtpDatabase* db)
mDatabase(db),
mMaxCapacity(0)
{
- printf("MtpStorage id: %d path: %s\n", id, filePath);
+ LOGD("MtpStorage id: %d path: %s\n", id, filePath);
}
MtpStorage::~MtpStorage() {