summaryrefslogtreecommitdiffstats
path: root/AriesParts/src
diff options
context:
space:
mode:
authorPawit Pornkitprasan <p.pawit@gmail.com>2012-05-08 08:32:17 +0700
committerPawit Pornkitprasan <p.pawit@gmail.com>2012-05-08 08:32:46 +0700
commit3899679acadf3a64a1a72dcaf15e983b15d2231d (patch)
tree1c82be9e2951aa7cd88740e5b771828f89fa9061 /AriesParts/src
parentf01eff4a27b14c13616444aa9c81772202393843 (diff)
downloaddevice_samsung_aries-common-3899679acadf3a64a1a72dcaf15e983b15d2231d.zip
device_samsung_aries-common-3899679acadf3a64a1a72dcaf15e983b15d2231d.tar.gz
device_samsung_aries-common-3899679acadf3a64a1a72dcaf15e983b15d2231d.tar.bz2
AriesParts: Write proper gamma value on boot
Change-Id: I6fa099747baacb9f03df45a0ce60a41e7268926d
Diffstat (limited to 'AriesParts/src')
-rw-r--r--AriesParts/src/com/cyanogenmod/settings/device/ColorTuningPreference.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/AriesParts/src/com/cyanogenmod/settings/device/ColorTuningPreference.java b/AriesParts/src/com/cyanogenmod/settings/device/ColorTuningPreference.java
index ea1c5ad..390c5a2 100644
--- a/AriesParts/src/com/cyanogenmod/settings/device/ColorTuningPreference.java
+++ b/AriesParts/src/com/cyanogenmod/settings/device/ColorTuningPreference.java
@@ -127,7 +127,7 @@ public class ColorTuningPreference extends DialogPreference {
}
for (String filePath : GAMMA_FILE_PATH) {
int value = sharedPrefs.getInt(filePath, GAMMA_DEFAULT_VALUE);
- Utils.writeColor(filePath, value);
+ Utils.writeGamma(filePath, value);
}
}