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

Commit 6699b47f authored by Zim's avatar Zim
Browse files

Update string to enable transcode via MTP

Also added a summary string when checked.

Test: Manual
Bug: 191985287
Change-Id: I1db9763bbf3766eecace6eca168218ab71ca6195
parent dbd5c9cc
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -10592,7 +10592,11 @@
    <!-- Title of one of the choices in a dialog (with title defined in usb_use) that lets the user
         select what the USB connection for this device should be used for. This choice
         is for transcoding the files that are transferred via MTP. -->
    <string name="usb_transcode_files">Transcode exported media</string>
    <string name="usb_transcode_files">Convert videos to AVC</string>
    <!-- The summary text that appears when the user enables the 'Convert videos to AVC' option for
         transcoding files to compatible formats before transferring them from the device to PC.
         [CHAR LIMIT=NONE] -->
    <string name="usb_transcode_files_summary">Videos will play on more media players, but quality may be reduced</string>
    <!-- Description of one of the choices in a dialog (with title defined in usb_use) that lets the user
         select what the USB connection for this device should be used for. This choice
         is for transferring photos via PTP. -->
+1 −0
Original line number Diff line number Diff line
@@ -55,6 +55,7 @@ public class UsbDetailsTranscodeMtpController extends UsbDetailsController
        mSwitchPreference = new SwitchPreference(mPreferenceCategory.getContext());
        mSwitchPreference.setTitle(R.string.usb_transcode_files);
        mSwitchPreference.setOnPreferenceClickListener(this);
        mSwitchPreference.setSummaryOn(R.string.usb_transcode_files_summary);
        mPreferenceCategory.addPreference(mSwitchPreference);
    }