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

Commit 86791037 authored by Manish Singh's avatar Manish Singh Committed by Android (Google) Code Review
Browse files

Merge "Disable MTP transcoding by default" into sc-dev

parents 7e20b993 c0c6b51e
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