Cherish: Add Smart Pixels warning
Change-Id: Ied06c0ec764c5636c40ee4245336612e0d765e84 Signed-off-by: Adin Kwok <adin.kwok@carbonrom.org> Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user