diff options
author | Emilio López <turl@tuxfamily.org> | 2012-05-09 13:35:53 +0000 |
---|---|---|
committer | Emilio López <turl@tuxfamily.org> | 2012-05-09 13:35:53 +0000 |
commit | 8a12c6f083f6413b434d8c8e842bc3f72216fe84 (patch) | |
tree | 034499521df56b842e459099e48f0baf5edfbc70 | |
parent | 540a74492f5c55fa18275612be808371866b4fe9 (diff) | |
download | device_samsung_tuna-8a12c6f083f6413b434d8c8e842bc3f72216fe84.tar.gz device_samsung_tuna-8a12c6f083f6413b434d8c8e842bc3f72216fe84.tar.bz2 device_samsung_tuna-8a12c6f083f6413b434d8c8e842bc3f72216fe84.zip |
tuna: GNexusPart: Reset DSS Gamma too on default button
Change-Id: I4497055d0ee12b637b37fd8f5c1f02660f2720af
-rw-r--r-- | GNexusParts/src/com/cyanogenmod/settings/device/ColorHackPresets.java | 4 |
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() { |