Loading res/values/strings.xml +2 −1 Original line number Original line Diff line number Diff line Loading @@ -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> Loading src/org/lineageos/lineageparts/power/PerfProfileSettings.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -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) { Loading Loading
res/values/strings.xml +2 −1 Original line number Original line Diff line number Diff line Loading @@ -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> Loading
src/org/lineageos/lineageparts/power/PerfProfileSettings.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -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) { Loading