summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CrespoParts/src/com/cyanogenmod/settings/device/ColorTuningPreference.java6
-rw-r--r--CrespoParts/src/com/cyanogenmod/settings/device/GammaTuningPreference.java8
2 files changed, 7 insertions, 7 deletions
diff --git a/CrespoParts/src/com/cyanogenmod/settings/device/ColorTuningPreference.java b/CrespoParts/src/com/cyanogenmod/settings/device/ColorTuningPreference.java
index 4c9cd41..6db5bb0 100644
--- a/CrespoParts/src/com/cyanogenmod/settings/device/ColorTuningPreference.java
+++ b/CrespoParts/src/com/cyanogenmod/settings/device/ColorTuningPreference.java
@@ -47,9 +47,9 @@ public class ColorTuningPreference extends DialogPreference {
};
private static final String[] FILE_PATH = new String[] {
- "/sys/class/misc/tl2796_color/red_multiplier",
- "/sys/class/misc/tl2796_color/green_multiplier",
- "/sys/class/misc/tl2796_color/blue_multiplier"
+ "/sys/class/misc/samoled_color/red_multiplier",
+ "/sys/class/misc/samoled_color/green_multiplier",
+ "/sys/class/misc/samoled_color/blue_multiplier"
};
private ColorSeekBar mSeekBars[] = new ColorSeekBar[3];
diff --git a/CrespoParts/src/com/cyanogenmod/settings/device/GammaTuningPreference.java b/CrespoParts/src/com/cyanogenmod/settings/device/GammaTuningPreference.java
index 12fb781..bfbc62e 100644
--- a/CrespoParts/src/com/cyanogenmod/settings/device/GammaTuningPreference.java
+++ b/CrespoParts/src/com/cyanogenmod/settings/device/GammaTuningPreference.java
@@ -47,16 +47,16 @@ public class GammaTuningPreference extends DialogPreference {
};
private static final String[] FILE_PATH = new String[] {
- "/sys/class/misc/tl2796_color/red_v1_offset",
- "/sys/class/misc/tl2796_color/green_v1_offset",
- "/sys/class/misc/tl2796_color/blue_v1_offset"
+ "/sys/class/misc/samoled_color/red_v1_offset",
+ "/sys/class/misc/samoled_color/green_v1_offset",
+ "/sys/class/misc/samoled_color/blue_v1_offset"
};
private GammaSeekBar mSeekBars[] = new GammaSeekBar[3];
private static final int MAX_VALUE = 80;
- private static final int OFFSET_VALUE = 60;
+ private static final int OFFSET_VALUE = 0;
// Track instances to know when to restore original color
// (when the orientation changes, a new dialog is created before the old one