From 6d154c4fe25d1ae0b5dafaae5eff7c0102f3362e Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Wed, 3 Sep 2014 14:19:43 -0500 Subject: Allow toggle of MTP debug Via command line in TWRP: twrp set tw_mtp_debug 1 This will enable debugging for MTP. You will need to disable and re-enable MTP in order to see the debug logging. Change-Id: Ia7bb0c584e10a4322b65ecf80a67ed7ee836b38e --- mtp/MtpDebug.h | 1 + 1 file changed, 1 insertion(+) (limited to 'mtp/MtpDebug.h') diff --git a/mtp/MtpDebug.h b/mtp/MtpDebug.h index 12a23ccc8..b572b3b96 100755 --- a/mtp/MtpDebug.h +++ b/mtp/MtpDebug.h @@ -43,6 +43,7 @@ public: static const char* getFormatCodeName(MtpObjectFormat code); static const char* getObjectPropCodeName(MtpPropertyCode code); static const char* getDevicePropCodeName(MtpPropertyCode code); + static void enableDebug(); }; -- cgit v1.2.3