summaryrefslogtreecommitdiffstats
path: root/CrespoParts/src/com/cyanogenmod/settings/device/GeneralFragmentActivity.java
diff options
context:
space:
mode:
authorKalimochoAz <calimochoazucarado@gmail.com>2012-02-07 22:11:40 -0500
committerRobert Burns <burnsra@gmail.com>2012-02-09 21:33:37 -0500
commit1609e9486a5e67c6a7812867c18cb0bc8b77ed17 (patch)
treeea9e0213914605e56bf48626dcd0dffa15f3d251 /CrespoParts/src/com/cyanogenmod/settings/device/GeneralFragmentActivity.java
parente66f2a6b6cb604cfa37cfdf6e387417df6f2a7b5 (diff)
downloaddevice_samsung_crespo-1609e9486a5e67c6a7812867c18cb0bc8b77ed17.zip
device_samsung_crespo-1609e9486a5e67c6a7812867c18cb0bc8b77ed17.tar.gz
device_samsung_crespo-1609e9486a5e67c6a7812867c18cb0bc8b77ed17.tar.bz2
Addition of lulzactive preferences to CrespoParts
Diffstat (limited to 'CrespoParts/src/com/cyanogenmod/settings/device/GeneralFragmentActivity.java')
-rw-r--r--CrespoParts/src/com/cyanogenmod/settings/device/GeneralFragmentActivity.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/CrespoParts/src/com/cyanogenmod/settings/device/GeneralFragmentActivity.java b/CrespoParts/src/com/cyanogenmod/settings/device/GeneralFragmentActivity.java
index f101de1..ab9ec48 100644
--- a/CrespoParts/src/com/cyanogenmod/settings/device/GeneralFragmentActivity.java
+++ b/CrespoParts/src/com/cyanogenmod/settings/device/GeneralFragmentActivity.java
@@ -38,6 +38,7 @@ public class GeneralFragmentActivity extends PreferenceFragment {
private static final String TAG = "CrespoParts_General";
private CheckBoxPreference mDeepIdle;
+ private LulzactiveTuningPreference mLulzactiveTuning;
private CheckBoxPreference mNotification;
@Override
@@ -56,6 +57,9 @@ public class GeneralFragmentActivity extends PreferenceFragment {
mDeepIdle.setEnabled(false);
}
+ mLulzactiveTuning = (LulzactiveTuningPreference) findPreference(DeviceSettings.KEY_Lulzactive_TUNING);
+ mLulzactiveTuning.setEnabled(LulzactiveTuningPreference.isSupported());
+
if (isSupported(TOUCHKEY_NOTIFICATION_FILE)) {
mNotification.setChecked(PREF_ENABLED.equals(Utils.readOneLine(TOUCHKEY_NOTIFICATION_FILE)));
} else {