MTP: host support for retrieving device property descriptors
Signed-off-by: Mike Lockwood <lockwood@android.com>
diff --git a/media/mtp/MtpObjectInfo.cpp b/media/mtp/MtpObjectInfo.cpp
index 8ca2880..a0ee2b6 100644
--- a/media/mtp/MtpObjectInfo.cpp
+++ b/media/mtp/MtpObjectInfo.cpp
@@ -14,7 +14,8 @@
* limitations under the License.
*/
-#include <stdlib.h>
+#define LOG_TAG "MtpObjectInfo"
+#include "utils/Log.h"
#include "MtpDataPacket.h"
#include "MtpObjectInfo.h"
@@ -90,7 +91,7 @@
}
void MtpObjectInfo::print() {
- printf("MtpObject Info %08X: %s\n", mHandle, mName);
+ LOGD("MtpObject Info %08X: %s\n", mHandle, mName);
}
} // namespace android