Disable MTP transcoding by default
BUG: 178769134
Test: manual
Change-Id: I56c58a6ea9f20b7ec51bbdb877c22404f1f59856
diff --git a/media/mtp/MtpServer.cpp b/media/mtp/MtpServer.cpp
index a92848c..becbe6e 100644
--- a/media/mtp/MtpServer.cpp
+++ b/media/mtp/MtpServer.cpp
@@ -793,7 +793,7 @@
mtp_file_range mfr;
struct stat sstat;
uint64_t finalsize;
- bool transcode = android::base::GetBoolProperty("sys.fuse.transcode_mtp", true);
+ bool transcode = android::base::GetBoolProperty("sys.fuse.transcode_mtp", false);
ALOGD("Mtp transcode = %d", transcode);
mfr.fd = mDatabase->openFilePath(filePath, transcode);
// Doing this here because we want to update fileLength only for this case and leave the