diff options
author | Zhao Wei Liew <zhaoweiliew@gmail.com> | 2016-04-30 14:57:22 +0800 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2016-04-30 17:06:13 -0700 |
commit | de1ad367653b1f1e031d4f1893e1f6e54339f7e0 (patch) | |
tree | b4501c4b662dd398f0b85c97d288888c926c937e /sepolicy | |
parent | 7a92949668e59aad7da2f3475a7b565d34ffaf0f (diff) | |
download | vendor_replicant-de1ad367653b1f1e031d4f1893e1f6e54339f7e0.zip vendor_replicant-de1ad367653b1f1e031d4f1893e1f6e54339f7e0.tar.gz vendor_replicant-de1ad367653b1f1e031d4f1893e1f6e54339f7e0.tar.bz2 |
cm: Allow LiveDisplay to write to color_enhance
The proper permissions for the color_enhance sysfs node weren't
being set, rendering the color enhancement switch useless.
Set the proper permissions for LiveDisplay to toggle color enhancement.
Change-Id: Ic8dba8953b73a497cb01a645834c0e7934092b38
Diffstat (limited to 'sepolicy')
-rw-r--r-- | sepolicy/file_contexts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 8cea018..0a54e3a 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -47,6 +47,7 @@ /sys/devices/virtual/graphics/fb0/cabc u:object_r:livedisplay_sysfs:s0 /sys/devices/virtual/graphics/fb0/rgb u:object_r:livedisplay_sysfs:s0 /sys/devices/virtual/graphics/fb0/sre u:object_r:livedisplay_sysfs:s0 +/sys/devices/virtual/graphics/fb0/color_enhance u:object_r:livedisplay_sysfs:s0 # fsck /system/bin/fsck\.ntfs u:object_r:fsck_exec:s0 |