diff options
Diffstat (limited to 'AriesParts/src/com/cyanogenmod/settings/device/Utils.java')
-rw-r--r-- | AriesParts/src/com/cyanogenmod/settings/device/Utils.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/AriesParts/src/com/cyanogenmod/settings/device/Utils.java b/AriesParts/src/com/cyanogenmod/settings/device/Utils.java index f112e09..3848b7a 100644 --- a/AriesParts/src/com/cyanogenmod/settings/device/Utils.java +++ b/AriesParts/src/com/cyanogenmod/settings/device/Utils.java @@ -36,6 +36,15 @@ public class Utils { } /** + * Write the "gamma value" to the specified file. + * @param filename The filename + * @param value The value + */ + public static void writeGamma(String filename, int value) { + writeValue(filename, String.valueOf(value)); + } + + /** * Check if the specified file exists. * @param filename The filename * @return Whether the file exists or not |