diff --git a/res/values/cherish_strings.xml b/res/values/cherish_strings.xml index 2ba6d6a..4fe540b 100644 --- a/res/values/cherish_strings.xml +++ b/res/values/cherish_strings.xml @@ -1087,4 +1087,5 @@ Enable with battery saver to increase power savings Percent of pixels to disable Burn-in protection interval + Smart Pixels is a power saving feature. Depending on how many pixels you decide to turn off, you could see a significant improvement in battery life. For a good user experience, we recommend setting the amount of disabled pixels to 75 percent while shifting every 10 minutes. diff --git a/res/xml/cherish_settings_smart_pixels.xml b/res/xml/cherish_settings_smart_pixels.xml index 35cf985..6b3dea6 100644 --- a/res/xml/cherish_settings_smart_pixels.xml +++ b/res/xml/cherish_settings_smart_pixels.xml @@ -47,4 +47,9 @@ android:title="@string/smart_pixels_shift" android:dialogTitle="@string/smart_pixels_shift" /> + + diff --git a/src/com/cherish/settings/preferences/fragments/SmartPixels.java b/src/com/cherish/settings/preferences/fragments/SmartPixels.java index b8c0f3a..d378269 100644 --- a/src/com/cherish/settings/preferences/fragments/SmartPixels.java +++ b/src/com/cherish/settings/preferences/fragments/SmartPixels.java @@ -49,6 +49,7 @@ public class SmartPixels extends SettingsPreferenceFragment implements Preference.OnPreferenceChangeListener { private static final String TAG = "SmartPixels"; private static final String ENABLE = "smart_pixels_enable"; + private static final String FOOTER = "smart_pixels_footer"; private static final String ON_POWER_SAVE = "smart_pixels_on_power_save"; private Handler mHandler = new Handler(); @@ -67,6 +68,8 @@ public class SmartPixels extends SettingsPreferenceFragment implements addPreferencesFromResource(R.xml.cherish_settings_smart_pixels); + findPreference(FOOTER).setTitle(R.string.smart_pixels_warning_text); + resolver = getActivity().getContentResolver(); mSmartPixelsEnable = (SystemSettingSwitchPreference) findPreference(ENABLE);