MTP: Minor debug output cleanup
Change-Id: I1065179aa64f43c7d8067ccda249319a016840ab
Signed-off-by: Mike Lockwood <lockwood@android.com>
diff --git a/media/mtp/MtpServer.cpp b/media/mtp/MtpServer.cpp
index 6332b4e..1a18c3b 100644
--- a/media/mtp/MtpServer.cpp
+++ b/media/mtp/MtpServer.cpp
@@ -26,6 +26,8 @@
#include <cutils/properties.h>
+#define LOG_TAG "MtpServer"
+
#include "MtpDebug.h"
#include "MtpDatabase.h"
#include "MtpProperty.h"
@@ -294,6 +296,7 @@
response = doGetDevicePropDesc();
break;
default:
+ LOGE("got unsupported command %s", MtpDebug::getOperationCodeName(operation));
response = MTP_RESPONSE_OPERATION_NOT_SUPPORTED;
break;
}