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

Commit e3ddbe22 authored by Abhishek Aggarwal's avatar Abhishek Aggarwal
Browse files

Merge branch '3727-r-perf_title_search' into 'v1-r'

LineageParts: Fix title string for perf profile

See merge request !22
parents 00ca5695 5cc0ac00
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -565,7 +565,8 @@
    <string name="perf_profile_settings_summary">Adjust power saving features and device performance</string>
    <string name="perf_profile_settings_summary">Adjust power saving features and device performance</string>
    <string name="perf_profile_overview_summary">Current profile: <xliff:g id="perf_profile_name">%1$s</xliff:g></string>
    <string name="perf_profile_overview_summary">Current profile: <xliff:g id="perf_profile_name">%1$s</xliff:g></string>
    <string name="perf_profile_category_title">Device performance</string>
    <string name="perf_profile_category_title">Device performance</string>
    <string name="perf_profile_title">Performance profile: <xliff:g id="perf_profile_name">%1$s</xliff:g></string>
    <string name="perf_profile_title">Performance profile</string>
    <string name="perf_profile_detailed_title">Performance profile: <xliff:g id="perf_profile_name">%1$s</xliff:g></string>
    <string name="perf_profile_fail_toast">The performance profile is currently unavailable</string>
    <string name="perf_profile_fail_toast">The performance profile is currently unavailable</string>
    <string name="power_save_category_title">Battery saving</string>
    <string name="power_save_category_title">Battery saving</string>
    <string name="power_save_title">Extreme power saver</string>
    <string name="power_save_title">Extreme power saver</string>
+1 −1
Original line number Original line Diff line number Diff line
@@ -193,7 +193,7 @@ public class PerfProfileSettings extends SettingsPreferenceFragment
                mPerf.getPowerProfile(PROFILE_POWER_SAVE) : mPerf.getActivePowerProfile();
                mPerf.getPowerProfile(PROFILE_POWER_SAVE) : mPerf.getActivePowerProfile();
        mPerfSeekBar.setProgress(mProfiles.indexOf(profile));
        mPerfSeekBar.setProgress(mProfiles.indexOf(profile));
        mPerfSeekBar.setTitle(getResources().getString(
        mPerfSeekBar.setTitle(getResources().getString(
                R.string.perf_profile_title, profile.getName()));
                R.string.perf_profile_detailed_title, profile.getName()));
        mPerfSeekBar.setSummary(profile.getDescription());
        mPerfSeekBar.setSummary(profile.getDescription());


        if (mPerfDrawable != null) {
        if (mPerfDrawable != null) {