summaryrefslogtreecommitdiff
path: root/init.bullhead.rc
diff options
context:
space:
mode:
authorSteve Pfetsch <spfetsch@google.com>2016-01-13 17:04:52 -0800
committerSteve Pfetsch <spfetsch@google.com>2016-01-14 15:15:02 -0800
commit1b072d6a0b07bdc8302dbfeb971643e0fa83e66d (patch)
treef21f99cbab355f4f45ef1f448da4384f3bbbf5e2 /init.bullhead.rc
parent0fae4d220ded7a6bf07b262177b51bfb549365f5 (diff)
downloadbullhead-1b072d6a0b07bdc8302dbfeb971643e0fa83e66d.tar.gz
Enable color temperature developer setting
Add a switch in Developer Settings to enable "cool" color temperature mode. Bug: 26110238 Change-Id: Id2062670fcee48f66a54f970ff7eb61272a59a58
Diffstat (limited to 'init.bullhead.rc')
-rw-r--r--init.bullhead.rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/init.bullhead.rc b/init.bullhead.rc
index 5130d38..5837dfd 100644
--- a/init.bullhead.rc
+++ b/init.bullhead.rc
@@ -132,6 +132,10 @@ on boot
chmod 0664 /sys/devices/virtual/graphics/fb1/vendor_name
chmod 0664 /sys/devices/virtual/graphics/fb1/product_description
+ # Grant permission to modify the color_temp setting
+ chown system graphics /sys/class/graphics/fb0/color_temp
+ chmod 0664 /sys/class/graphics/fb0/color_temp
+
# Allow QMUX daemon to assign port open wait time
chown radio radio /sys/devices/virtual/hsicctl/hsicctl0/modem_wait