Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c0c6b51e authored by Manish Singh's avatar Manish Singh
Browse files

Disable MTP transcoding by default

BUG: 178769134
Test: manual
Change-Id: I56c58a6ea9f20b7ec51bbdb877c22404f1f59856
parent 7936104c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -793,7 +793,7 @@ MtpResponseCode MtpServer::doGetObject() {
    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