summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Salas <calimochoazucarado@gmail.com>2012-05-26 11:58:50 +0400
committerGerrit Code Review <gerrit@review.cyanogenmod.com>2012-05-26 11:58:50 +0400
commit4e37f92683c109bdd9db3398ee6433efb778ad02 (patch)
treec41b2b6b24276430c3cdbfccd2b1f1c4621e639d
parentbd32fa1403938264800c27034060277d913c8d78 (diff)
parent8a12c6f083f6413b434d8c8e842bc3f72216fe84 (diff)
downloaddevice_samsung_tuna-4e37f92683c109bdd9db3398ee6433efb778ad02.zip
device_samsung_tuna-4e37f92683c109bdd9db3398ee6433efb778ad02.tar.gz
device_samsung_tuna-4e37f92683c109bdd9db3398ee6433efb778ad02.tar.bz2
Merge "tuna: GNexusPart: Reset DSS Gamma too on default button" into ics
-rw-r--r--GNexusParts/src/com/cyanogenmod/settings/device/ColorHackPresets.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/GNexusParts/src/com/cyanogenmod/settings/device/ColorHackPresets.java b/GNexusParts/src/com/cyanogenmod/settings/device/ColorHackPresets.java
index 4d0d02c..84b4210 100644
--- a/GNexusParts/src/com/cyanogenmod/settings/device/ColorHackPresets.java
+++ b/GNexusParts/src/com/cyanogenmod/settings/device/ColorHackPresets.java
@@ -39,7 +39,8 @@ public class ColorHackPresets extends DialogPreference implements OnClickListene
private static final String[] FILE_PATH_GAMMA = new String[] {
"/sys/class/misc/samoled_color/red_v1_offset",
"/sys/class/misc/samoled_color/green_v1_offset",
- "/sys/class/misc/samoled_color/blue_v1_offset"
+ "/sys/class/misc/samoled_color/blue_v1_offset",
+ "/sys/devices/platform/omapdss/manager0/gamma"
};
private static final String[] FILE_PATH_MULTI = new String[] {
@@ -162,6 +163,7 @@ public class ColorHackPresets extends DialogPreference implements OnClickListene
WriteGamma(0, 0);
WriteGamma(0, 1);
WriteGamma(0, 2);
+ WriteGamma(0, 3);
}
private void Preset2() {